The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

    float
    double

METHODS

new

    my $type = Clownfish::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-2010 Marvin Humphrey

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