NAME
SPVM::Float - Float object
SYNOPSYS
use SPVM::Float;
my $float_object = SPVM::Float->new(0.25f);
my $float_value = $float_object->value;
DESCRIPTION
SPVM::Float object stores a float
value.
This object is immutable and its value cannot be changed.
SPVM::Float is automatically loaded just after the program starts.
STATIC METHODS
new
sub new : SPVM::Float ($value : float)
Create a new SPVM::Float object with a float
value.
INSTANCE METHODS
value
sub value : float ($self : self)
Get a float
value.