- ONLY INTERNAL FUNCTIONS
- COPYRIGHT & LICENSE
File::Rsync::Mirror::Recentfile::FakeBigFloat - pseudo bigfloat support
use File::Rsync::Mirror::Recentfile::FakeBigFloat qw(:all);
These functions are not part of a public interface and can be changed and go away any time without prior notice.
We treat strings that look like floating point numbers. If the native floating point support is good enough we use it. If it isn't we make sure no two unequal numbers are treated the same and vice versa. Only comparison operators are supported, no other math.
All functions are exported in the
Cmp function for floating point numbers that have a larger significand than can be handled by native perl floats.
Same for ge
Same for gt
Same for lt
Same for lt
Same for max (of two arguments)
Same for min (of two arguments)
The first form calculates a string that is between the two numbers, closer to $l to prevent rounding effects towards $r. The second form calculates the second number itself based on nextup() in Data::Float.
Copyright 2008, 2009 Andreas König.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.