Author image Marvin Humphrey
and 1 contributors

NAME

Boilerplater::Type::Float - A primitive Type representing a floating point number.

DESCRIPTION

Boilerplater::Type::Float represents floating point types of various widths. Currently only two are supported:

    float
    double

METHODS

new

    my $type = Boilerplater::Type::Float->new(
        const     => 1,           # default: undef
        specifier => 'double',    # required
    );
  • const - Should be true if the type is const.

  • specifier - Must match one of the supported types.

COPYRIGHT AND LICENSE

Copyright 2008-2009 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.