Data-SecsPack
view release on metacpan or search on metacpan
A[4] sign
A[1] +
A[5] value
U1[1] 0
' (t/Data/SecsPackStress.t at line 184)
# Expected: 'U1[1] 80
U1[2] 128 0
'
The second group of failures the UUT "unpack_float" subroutine is
always returning a NaN. This subroutine heavily uses the native
floating point for calcuations and it appears to be limiting out
with "Not a Number" type error.
# Test 27 got: '0' (t/Data/SecsPackStress.t at line 396 fail #2)
# Expected: '1' (got: NaN, expected: -10.5
# actual tolerance: NaN, expected tolerance: 0.0001)
Check version of "Math::BigInt" in the ActiveState Perl 5.06
distribution to those on CPAN. ActiveState "Math::BigInt" was 0.01
while CPAN was 1.70. The difference between the two is night and
day. Install "Math::BigInt" 1.70. Tests fails the same as above.
Corrected all "Data::SecsPack" subroutines to use new features and
intefaces of "Math::BigInt" 1.70 including a load "die" if the
"Math::BitInt" version is not 1.70 or greater
lib/Docs/Site_SVD/Data_SecsPack.pm view on Meta::CPAN
A[4] sign
A[1] +
A[5] value
U1[1] 0
' (t/Data/SecsPackStress.t at line 184)
# Expected: 'U1[1] 80
U1[2] 128 0
'
The second group of failures the UUT C<unpack_float> subroutine
is always returning a NaN. This subroutine heavily uses the
native floating point for calcuations and it appears to
be limiting out with C<Not a Number> type error.
# Test 27 got: '0' (t/Data/SecsPackStress.t at line 396 fail #2)
# Expected: '1' (got: NaN, expected: -10.5
# actual tolerance: NaN, expected tolerance: 0.0001)
Check version of C<Math::BigInt> in the ActiveState Perl 5.06
distribution to those on CPAN. ActiveState C<Math::BigInt>
was 0.01 while CPAN was 1.70. The difference between the two
is night and day. Install C<Math::BigInt> 1.70.
Tests fails the same as above.
Corrected all C<Data::SecsPack> subroutines to use new
features and intefaces of C<Math::BigInt> 1.70 including
a load C<die> if the C<Math::BitInt> version is not 1.70
lib/Docs/Site_SVD/Data_SecsPack.pm view on Meta::CPAN
A[4] sign
A[1] +
A[5] value
U1[1] 0
' (t/Data/SecsPackStress.t at line 184)
# Expected: 'U1[1] 80
U1[2] 128 0
'
The second group of failures the UUT C<unpack_float> subroutine
is always returning a NaN. This subroutine heavily uses the
native floating point for calcuations and it appears to
be limiting out with C<Not a Number> type error.
# Test 27 got: '0' (t/Data/SecsPackStress.t at line 396 fail #2)
# Expected: '1' (got: NaN, expected: -10.5
# actual tolerance: NaN, expected tolerance: 0.0001)
Check version of C<Math::BigInt> in the ActiveState Perl 5.06
distribution to those on CPAN. ActiveState C<Math::BigInt>
was 0.01 while CPAN was 1.70. The difference between the two
is night and day. Install C<Math::BigInt> 1.70.
Tests fails the same as above.
Corrected all C<Data::SecsPack> subroutines to use new
features and intefaces of C<Math::BigInt> 1.70 including
a load C<die> if the C<Math::BitInt> version is not 1.70
( run in 0.242 second using v1.01-cache-2.11-cpan-4d50c553e7e )