|
1 | 1 | NAME
|
2 |
| - |
3 |
| -Data::IEEE754::Tools - Various tools for understanding and manipulating the underlying IEEE-754 representation of floating point values |
| 2 | + Data::IEEE754::Tools - Various tools for understanding and manipulating |
| 3 | + the underlying IEEE-754 representation of floating point values |
4 | 4 |
|
5 | 5 | DESCRIPTION
|
6 |
| - |
7 |
| -These tools give access to the underlying IEEE 754 floating-point 64bit |
8 |
| -representation used by many instances of Perl (see perlguts). They |
9 |
| -include functions for converting from the 64bit internal representation |
10 |
| -to a string that shows those bits (either as hexadecimal or binary) and |
11 |
| -back, functions for converting that encoded value into a more |
12 |
| -human-readable format to give insight into the meaning of the encoded |
13 |
| -values, and functions to manipulate the smallest possible change for a |
14 |
| -given floating-point value (which is the ULP |
15 |
| -<https://en.wikipedia.org/wiki/Unit_in_the_last_place> or "Unit in the |
16 |
| -Last Place"). |
17 |
| - |
18 |
| -COMPATIBILITY |
19 |
| - |
20 |
| -Data::IEEE754::Tools works with 64bit floating-point representations. |
21 |
| - |
22 |
| -If you have a Perl setup which uses a larger representation (for |
23 |
| -example, "use Config; print $Config{nvsize}; # 16 => 128bit"), values |
24 |
| -reported by this module will be reduced in precision to fit the 64bit |
25 |
| -representation. |
26 |
| - |
27 |
| -If you have a Perl setup which uses a smaller representation (for |
28 |
| -example, "use Config; print $Config{nvsize}; # 4 => 32bit"), the |
29 |
| -installation will likely fail, because the unit tests were not set up |
30 |
| -for lower precision inputs. However, forcing the installation *might* |
31 |
| -still allow coercion from the smaller Perl NV into a true IEEE 754 |
32 |
| -double (64bit) floating-point, but there is no guarantee it will work. |
| 6 | + These tools give access to the underlying IEEE 754 floating-point 64bit |
| 7 | + representation used by many instances of Perl (see perlguts). They |
| 8 | + include functions for converting from the 64bit internal representation |
| 9 | + to a string that shows those bits (either as hexadecimal or binary) and |
| 10 | + back, functions for converting that encoded value into a more |
| 11 | + human-readable format to give insight into the meaning of the encoded |
| 12 | + values, and functions to manipulate the smallest possible change for a |
| 13 | + given floating-point value (which is the ULP |
| 14 | + <https://en.wikipedia.org/wiki/Unit_in_the_last_place> or "Unit in the |
| 15 | + Last Place"). |
| 16 | + |
| 17 | + Compatibility |
| 18 | + Data::IEEE754::Tools works with 64bit floating-point representations. |
| 19 | + |
| 20 | + If you have a Perl setup which uses a larger representation (for |
| 21 | + example, "use Config; print $Config{nvsize}; # 16 => 128bit"), values |
| 22 | + reported by this module will be reduced in precision to fit the 64bit |
| 23 | + representation. |
| 24 | + |
| 25 | + If you have a Perl setup which uses a smaller representation (for |
| 26 | + example, "use Config; print $Config{nvsize}; # 4 => 32bit"), the |
| 27 | + installation will likely fail, because the unit tests were not set up |
| 28 | + for lower precision inputs. However, forcing the installation *might* |
| 29 | + still allow coercion from the smaller Perl NV into a true IEEE 754 |
| 30 | + double (64bit) floating-point, but there is no guarantee it will work. |
33 | 31 |
|
34 | 32 | INSTALLATION
|
| 33 | + To install this module, use your favorite CPAN client. |
35 | 34 |
|
36 |
| -To install this module, use your favorite CPAN client. |
37 |
| - |
38 |
| -For a manual install, type the following: |
| 35 | + For a manual install, type the following: |
39 | 36 |
|
40 |
| - perl Makefile.PL |
41 |
| - make |
42 |
| - make test |
43 |
| - make install |
| 37 | + perl Makefile.PL |
| 38 | + make |
| 39 | + make test |
| 40 | + make install |
44 | 41 |
|
45 |
| -(On Windows machines, you may need to use "dmake" instead of "make".) |
| 42 | + (On Windows machines, you may need to use "dmake" instead of "make".) |
46 | 43 |
|
47 | 44 | AUTHOR
|
| 45 | + Peter C. Jones "<petercj AT cpan DOT org>" |
48 | 46 |
|
49 |
| -Peter C. Jones <petercj AT cpan DOT org> |
50 |
| - |
51 |
| -Please report any bugs or feature requests emailing <bug-Data-IEEE754-Tools AT rt.cpan.org> |
52 |
| -or thru the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-IEEE754-Tools> |
| 47 | + Please report any bugs or feature requests emailing |
| 48 | + "<bug-Data-IEEE754-Tools AT rt.cpan.org>" or thru the web interface at |
| 49 | + <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-IEEE754-Tools>, or |
| 50 | + thru the repository's interface at |
| 51 | + <https://github.com/pryrt/Data-IEEE754-Tools/issues>. |
53 | 52 |
|
54 | 53 | COPYRIGHT
|
| 54 | + Copyright (C) 2016 Peter C. Jones |
55 | 55 |
|
56 |
| -Copyright (C) 2016 Peter C. Jones |
57 |
| - |
58 |
| -LICENCE |
59 |
| - |
60 |
| -This program is free software; you can redistribute it and/or modify it |
61 |
| -under the terms of either: the GNU General Public License as published |
62 |
| -by the Free Software Foundation; or the Artistic License. |
| 56 | +LICENSE |
| 57 | + This program is free software; you can redistribute it and/or modify it |
| 58 | + under the terms of either: the GNU General Public License as published |
| 59 | + by the Free Software Foundation; or the Artistic License. |
63 | 60 |
|
64 |
| -See <http://dev.perl.org/licenses/> for more information. |
| 61 | + See <http://dev.perl.org/licenses/> for more information. |
0 commit comments