NAME

SPVM::Float - Float object

SYNOPSYS

use SPVM::Float;

my $float_object = SPVM::Float->new(0.25f);
my $float_value = $float_object->val;

DESCRIPTION

SPVM::Float object stores a float value.

This object is immutable.

CLASS METHODS

new

sub new : SPVM::Float ($value : float)

Create a new SPVM::Float object with specific float value.

INSTANCE METHODS

val

sub val : float ($self : self)

Get a float value.