File: Changes

package info (click to toggle)
libdata-float-perl 0.007-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 156 kB
  • ctags: 8
  • sloc: perl: 538; makefile: 43
file content (154 lines) | stat: -rw-r--r-- 4,955 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
version 0.007; 2007-10-02

  * close DATA filehandle when finished reading from it

  * fix some tests that were producing false failures on perl 5.6

version 0.006; 2007-10-01

  * bugfix: change behaviour of nextafter() when both arguments are
    numerically zero to that specified by IEEE 754: the second argument
    is returned rather than the first

  * bugfix: in hex_float(), cleanly reject non-ASCII digits in exponent

  * bugfix: in float_hex(), cleanly reject non-ASCII digits in an
    "EXPONENT="-type "zero_strategy" setting

  * add IEEE 754r functions nextup() and nextdown()

  * add IEEE 754r function totalorder()

  * add constant max_number

  * hex_float(): accept IEEE 754r special input strings "infinity" and
    "snan", in addition to the existing "inf" and "nan"

  * hex_float(): make the "0x" prefix in hexadecimal input optional

  * float_hex(): new option "hex_prefix_string" to control the "0x" prefix

  * test classification functions, examination functions, string
    conversion functions, and manipulation functions (all the functions
    that were not being tested)

  * test all functions for lack of side effects on zero arguments and
    purity of zero results

  * in documentation, note new standard-conforming behaviour of copysign()
    with a NaN second argument

  * in documentation, note that hex_float() accepts the special "0.0"
    form of input without a sign, as well as with one

  * in documentation, where the IEEE standard nature of functions is
    noted, add discussion of non-conforming behaviour on NaNs

  * in documentation, change some variable names in the synopsis for
    clarity

  * test POD syntax and coverage, and rename some internal functions to
    satisfy the coverage test

  * tweak tests on constants to avoid infinite loops if importing constant
    functions fails

  * build with Module::Build instead of ExtUtils::MakeMaker

  * complete dependency list

  * include signature in distribution

  * in documentation, separate "license" section from "copyright" section

version 0.005; 2007-01-25

  * bugfix: change behaviour of copysign() with a NaN as the second
    argument to that specified by IEEE 754: it is not an error but
    (in the context of Perl's opaque NaNs) results in copying an
    unpredictable sign

  * add hex_float() function to input floating point values in hexadecimal

  * add IEEE 754 function signbit()

  * float_id_cmp(): tighten specification of return values to match
    Perl's <=> operator (actual behaviour always matched the tighter spec,
    it just wasn't documented and tested)

  * in documentation, note that the string values of float arguments
    are ignored

  * in documentation, clarify note about implicit conversion of integer
    to float

  * in documentation, note that both arguments to nextafter() must be
    floating point values

  * in documentation, note standard nature of signbit(), copysign(),
    and nextafter()

  * in documentation, note float_id_cmp()'s relation to the IEEE 754r
    function totalorder()

  * in documentation, note that Perl does not distinguish between
    different NaNs

  * in documentation, give a second definition of max_integer (equivalent
    to the first)

  * add test for consistency of constants

  * in documentation, reference Scalar::Number

  * remove now-useless test t/use.t

version 0.004; 2007-01-12

  * bugfix: correct value for max_integer to 2^(significand_bits+1),
    and correct its description in the documentation

  * make pos_zero and neg_zero constants into non-constant functions
    that return fresh floating point zeroes, if running on a Perl where
    floating point zeroes can transmogrify into integer zeroes

  * add float_id_cmp() function for total ordering of floats

  * in documentation, more details of behaviour of zeroes

  * in documentation, discussion of interaction with native integer values

  * in documentation, note truncating behaviour of the % operator

  * in documentation, note the slightly misleading nature of the names
    "significand_bits" and "max_integer"

  * reference Data::Integer and perlnumber(1) in documentation

version 0.003; 2006-08-08

  * float_hex(): add OPTIONS parameter to control details of output
    formatting

  * when looking for NaNs, see whether the string "nan" qualifies

  * slight clarification to documentation of significand_step

version 0.002; 2006-08-03

  * bugfix: in mult_pow2(), copysign(), and nextafter(), take care
    to return a pristine signed zero when returning zero: they were
    returning zeroes that got broken (due to the Perl bug noted in the
    documentation) by internal arithmetic

version 0.001; 2006-08-01

  * add IEEE 754 functions copysign() and nextafter()

  * test sign of zero using sprintf() to avoid being confused by dualvars

  * slight expansion of initial paragraph of documentation

version 0.000; 2006-07-30

  * initial released version