From: Gurusamy Sarathy Date: Fri, 2 Apr 1999 23:20:31 +0000 (+0000) Subject: make testsuite reflect change#3157 (Math::BigFloat->new now X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e41db283334a2db4641d8a2a8558eb3dd2db11a;p=p5sagit%2Fp5-mst-13.2.git make testsuite reflect change#3157 (Math::BigFloat->new now returns NaNs faithfully) p4raw-link: @3157 on //depot/perl: 0e8b93680515c2e86a8476b627fb46e04ed665af p4raw-id: //depot/perl@3205 --- diff --git a/t/lib/bigfloatpm.t b/t/lib/bigfloatpm.t index cf7d09b..b3b45ec 100755 --- a/t/lib/bigfloatpm.t +++ b/t/lib/bigfloatpm.t @@ -75,12 +75,12 @@ while () { } __END__ &fnorm -abc: - 1 a: -1bcd2: -11111b: -+1z: --1z: +abc:NaN. + 1 a:NaN. +1bcd2:NaN. +11111b:NaN. ++1z:NaN. +-1z:NaN. 0:0. +0:0. +00:0. @@ -98,7 +98,7 @@ abc: -001:-1. -123456789:-123456789. -00000100000:-100000. -123.456a: +123.456a:NaN. 123.456:123.456 0.01:.01 .002:.002 @@ -113,7 +113,7 @@ abc: -3e111:-3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000. -4e-1111:-.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004 &fneg -abd: +abd:NaN. +0:0. +1:-1. -1:1. @@ -122,7 +122,7 @@ abd: +123.456789:-123.456789 -123456.789:123456.789 &fabs -abc: +abc:NaN. +0:0. +1:1. -1:1. @@ -282,9 +282,9 @@ abc:+0: -123:-124:1 -124:-123:-1 &fadd -abc:abc: -abc:+0: -+0:abc: +abc:abc:NaN. +abc:+0:NaN. ++0:abc:NaN. +0:+0:0. +1:+0:1. +0:+1:1. @@ -320,9 +320,9 @@ abc:+0: -123456789:-987654321:-1111111110. +123456789:-987654321:-864197532. &fsub -abc:abc: -abc:+0: -+0:abc: +abc:abc:NaN. +abc:+0:NaN. ++0:abc:NaN. +0:+0:0. +1:+0:1. +0:+1:-1. @@ -358,9 +358,9 @@ abc:+0: -123456789:-987654321:864197532. +123456789:-987654321:1111111110. &fmul -abc:abc: -abc:+0: -+0:abc: +abc:abc:NaN. +abc:+0:NaN. ++0:abc:NaN. +0:+0:0. +0:+1:0. +1:+0:0. @@ -391,13 +391,13 @@ abc:+0: +88888888888:+9:799999999992. +99999999999:+9:899999999991. &fdiv -abc:abc: -abc:+1:abc: -+1:abc: -+0:+0: +abc:abc:NaN. +abc:+1:abc:NaN. ++1:abc:NaN. ++0:+0:NaN. +0:+1:0. -+1:+0: -+0:-1:0. ++1:+0:NaN. ++0:-1:0.NaN. -1:+0: +1:+1:1. -1:-1:1.