p4raw-id: //depot/perl@2988
eval "$_;";
} else {
++$test;
- @args = split(/:/,$_,99);
- $ans = pop(@args);
+ if (m|^(.*?):(/.+)$|) {
+ $ans = $2;
+ @args = split(/:/,$1,99);
+ }
+ else {
+ @args = split(/:/,$_,99);
+ $ans = pop(@args);
+ }
$try = "\$x = new Math::BigFloat \"$args[0]\";";
if ($f eq "fnorm"){
$try .= "\$x+0;";
$Math::BigFloat::div_scale = 40
&fsqrt
+0:0
--1:/^(0|NaNQ?)$
--2:/^(0|NaNQ?)$
--16:/^(0|NaNQ?)$
--123.456:/^(0|NaNQ?)$
+-1:/^(?i:0|NaNQ?)$
+-2:/^(?i:0|NaNQ?)$
+-16:/^(?i:0|NaNQ?)$
+-123.456:/^(?i:0|NaNQ?)$
+1:1.
+1.44:1.2
+2:1.41421356237309504880168872420969807857