++ed by:
BRDUCH BEROV KRAUTCAT VEESH MHOWARD

14 PAUSE users
7 non-PAUSE users.

Author image Yuki Kimoto

NAME

SPVM::Double - Double object

SYNOPSYS

  use SPVM::Double;
  
  my $double_object = SPVM::Double->new(0.25);
  my $double_value = $double_object->val;

DESCRIPTION

SPVM::Double object stores a double value.

This object is immutable.

CLASS METHODS

new

  sub new : SPVM::Double ($value : double)

Create a new SPVM::Double object with specific double value.

INSTANCE METHODS

val

  sub val : double ($self : self)

Get a double value.