| 1 |
# Commands covered: expr |
| 2 |
# |
| 3 |
# This file contains a collection of tests for one or more of the Tcl |
| 4 |
# built-in commands. Sourcing this file into Tcl runs the tests and |
| 5 |
# generates output for errors. No output means no errors were found. |
| 6 |
# |
| 7 |
# Copyright (c) 1996-1997 Sun Microsystems, Inc. |
| 8 |
# Copyright (c) 1998-2000 Scriptics Corporation. |
| 9 |
# |
| 10 |
# See the file "license.terms" for information on usage and redistribution |
| 11 |
# of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| 12 |
|
| 13 |
if {"::tcltest" ni [namespace children]} { |
| 14 |
package require tcltest 2.5 |
| 15 |
namespace import -force ::tcltest::* |
| 16 |
} |
| 17 |
|
| 18 |
::tcltest::loadTestedCommands |
| 19 |
catch [list package require -exact Tcltest [info patchlevel]] |
| 20 |
|
| 21 |
testConstraint testmathfunctions [expr { |
| 22 |
([catch {expr {T1()}} msg] != 1) || ($msg ne {invalid command name "tcl::mathfunc::T1"}) |
| 23 |
}] |
| 24 |
|
| 25 |
# Determine if "long int" type is a 32 bit number and if the wide |
| 26 |
# type is a 64 bit number on this machine. |
| 27 |
|
| 28 |
testConstraint longIs32bit [expr {int(0x80000000) < 0}] |
| 29 |
testConstraint longIs64bit [expr {int(0x8000000000000000) < 0}] |
| 30 |
testConstraint wideIs64bit \ |
| 31 |
[expr {(wide(0x80000000) > 0) && (wide(0x8000000000000000) < 0)}] |
| 32 |
|
| 33 |
# Big test for correct ordering of data in [expr] |
| 34 |
|
| 35 |
proc testIEEE {} { |
| 36 |
variable ieeeValues |
| 37 |
binary scan [binary format dd -1.0 1.0] c* c |
| 38 |
switch -exact -- $c { |
| 39 |
{0 0 0 0 0 0 -16 -65 0 0 0 0 0 0 -16 63} { |
| 40 |
# little endian |
| 41 |
binary scan \x00\x00\x00\x00\x00\x00\xf0\xff d \ |
| 42 |
ieeeValues(-Infinity) |
| 43 |
binary scan \x00\x00\x00\x00\x00\x00\xf0\xbf d \ |
| 44 |
ieeeValues(-Normal) |
| 45 |
binary scan \x00\x00\x00\x00\x00\x00\x08\x80 d \ |
| 46 |
ieeeValues(-Subnormal) |
| 47 |
binary scan \x00\x00\x00\x00\x00\x00\x00\x80 d \ |
| 48 |
ieeeValues(-0) |
| 49 |
binary scan \x00\x00\x00\x00\x00\x00\x00\x00 d \ |
| 50 |
ieeeValues(+0) |
| 51 |
binary scan \x00\x00\x00\x00\x00\x00\x08\x00 d \ |
| 52 |
ieeeValues(+Subnormal) |
| 53 |
binary scan \x00\x00\x00\x00\x00\x00\xf0\x3f d \ |
| 54 |
ieeeValues(+Normal) |
| 55 |
binary scan \x00\x00\x00\x00\x00\x00\xf0\x7f d \ |
| 56 |
ieeeValues(+Infinity) |
| 57 |
binary scan \x00\x00\x00\x00\x00\x00\xf8\x7f d \ |
| 58 |
ieeeValues(NaN) |
| 59 |
binary scan \x00\x00\x00\x00\x00\x00\xf8\xff d \ |
| 60 |
ieeeValues(-NaN) |
| 61 |
set ieeeValues(littleEndian) 1 |
| 62 |
return 1 |
| 63 |
} |
| 64 |
{-65 -16 0 0 0 0 0 0 63 -16 0 0 0 0 0 0} { |
| 65 |
binary scan \xff\xf0\x00\x00\x00\x00\x00\x00 d \ |
| 66 |
ieeeValues(-Infinity) |
| 67 |
binary scan \xbf\xf0\x00\x00\x00\x00\x00\x00 d \ |
| 68 |
ieeeValues(-Normal) |
| 69 |
binary scan \x80\x08\x00\x00\x00\x00\x00\x00 d \ |
| 70 |
ieeeValues(-Subnormal) |
| 71 |
binary scan \x80\x00\x00\x00\x00\x00\x00\x00 d \ |
| 72 |
ieeeValues(-0) |
| 73 |
binary scan \x00\x00\x00\x00\x00\x00\x00\x00 d \ |
| 74 |
ieeeValues(+0) |
| 75 |
binary scan \x00\x08\x00\x00\x00\x00\x00\x00 d \ |
| 76 |
ieeeValues(+Subnormal) |
| 77 |
binary scan \x3f\xf0\x00\x00\x00\x00\x00\x00 d \ |
| 78 |
ieeeValues(+Normal) |
| 79 |
binary scan \x7f\xf0\x00\x00\x00\x00\x00\x00 d \ |
| 80 |
ieeeValues(+Infinity) |
| 81 |
binary scan \x7f\xf8\x00\x00\x00\x00\x00\x00 d \ |
| 82 |
ieeeValues(NaN) |
| 83 |
binary scan \xff\xf8\x00\x00\x00\x00\x00\x00 d \ |
| 84 |
ieeeValues(-NaN) |
| 85 |
set ieeeValues(littleEndian) 0 |
| 86 |
return 1 |
| 87 |
} |
| 88 |
default { |
| 89 |
return 0 |
| 90 |
} |
| 91 |
} |
| 92 |
} |
| 93 |
|
| 94 |
testConstraint ieeeFloatingPoint [testIEEE] |
| 95 |
# procedures used below |
| 96 |
|
| 97 |
proc put_hello_char {c} { |
| 98 |
global a |
| 99 |
append a [format %c $c] |
| 100 |
return $c |
| 101 |
} |
| 102 |
proc hello_world {} { |
| 103 |
global a |
| 104 |
set a "" |
| 105 |
set L1 [set l0 [set h_1 [set q 0]]] |
| 106 |
for {put_hello_char [expr [put_hello_char [expr [set h 7]*10+2]]+29]} {$l0?[put_hello_char $l0] |
| 107 |
:!$h_1} {put_hello_char $ll;expr {$L1==2?[set ll [expr 32+0-0+[set bar 0]]]:0}} {expr {[incr L1]==[expr 1+([string length "abc"]-[string length "abc"])] |
| 108 |
?[set ll [set l0 [expr 54<<1]]]:$ll==108&&$L1<3? |
| 109 |
[incr ll [expr 1|1<<1]; set ll $ll; set ll $ll; set ll $ll; set ll $ll; set l0 [expr ([string length "abc"]-[string length "abc"])+([string length "abc"]-[string length "abc"])-([string length "abc"]-[string length "abc"])+([string length "abc"]-[string length "abc"])]; set l0; set l0 $l0; set l0; set l0]:$L1==4&&$ll==32?[set ll [expr 19+$h1+([string length "abc"]-[string length "abc"])-([string length "abc"]-[string length "abc"])+([string length "abc"]-[string length "abc"])-([string length "abc"]-[string length "abc"])+[set foo [expr ([string length "abc"]-[string length "abc"])+([string length "abc"]-[string length "abc"])+([string length "abc"]-[string length "abc"])]]]] |
| 110 |
:[set q [expr $q-$h1+([string length "abc"]-[string length "abc"])-([string length "abc"]-[string length "abc"])]]};expr {$L1==5?[incr ll -8; set ll $ll; set ll]:$q&&$h1&&1};expr {$L1==4+2 |
| 111 |
?[incr ll 3]:[expr ([string length "abc"]-[string length "abc"])+1]};expr {$ll==($h<<4)+2+0&&$L1!=6?[incr ll -6]:[set h1 [expr 100+([string length "abc"]-[string length "abc"])-([string length "abc"]-[string length "abc"])]]} |
| 112 |
expr {$L1!=1<<3?[incr q [expr ([string length "abc"]-[string length "abc"])-1]]:[set h_1 [set ll $h1]]} |
| 113 |
} |
| 114 |
set a |
| 115 |
} |
| 116 |
|
| 117 |
proc 12days {a b c} { |
| 118 |
global xxx |
| 119 |
expr {1<$a?[expr {$a<3?[12days -79 -13 [string range $c [12days -87 \ |
| 120 |
[expr 1-$b] [string range $c [12days -86 0 [string range $c 1 end]] \ |
| 121 |
end]] end]]:1};expr {$a<$b?[12days [expr $a+1] $b $c]:3};expr {[12days \ |
| 122 |
-94 [expr $a-27] $c]&&$a==2?$b<13?[12days 2 [expr $b+1] "%s %d %d\n"]:9 |
| 123 |
:16}]:$a<0?$a<-72?[12days $b $a "@n'+,#'/*\{\}w+/w#cdnr/+,\{\}r/*de\}+,/*\{*+,/w\{%+,/w#q#n+,/#\{l+,/n\{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,\}\{w+K w'K:'+\}e#';dq#'l q#'+d'K#!/+k#;q#'r\}eKK#\}w'r\}eKK\{nl\]'/#;#q#n')\{)#\}w')\{)\{nl\]'/+#n';d\}rw' i;# )\{nl\]!/n\{n#'; r\{#w'r nc\{nl\]'/#\{l,+'K \{rw' iK\{;\[\{nl\]'/w#q#n'wk nw' iwk\{KK\{nl\]!/w\{%'l##w#' i; :\{nl\]'/*\{q#'ld;r'\}\{nlwb!/*de\}'c ;;\{nl'-\{\}rw\]'/+,\}##'*\}#nc,',#nw\]'/+kd'+e\}+;#'rdq#w! nr'/ ') \}+\}\{rl#'\{n' ')# \}'+\}##(!!/"] |
| 124 |
:$a<-50?[string compare [format %c $b] [string index $c 0]]==0?[append \ |
| 125 |
xxx [string index $c 31];scan [string index $c 31] %c x;set x] |
| 126 |
:[12days -65 $b [string range $c 1 end]]:[12days [expr ([string compare \ |
| 127 |
[string index $c 0] "/"]==0)+$a] $b [string range $c 1 end]]:0<$a |
| 128 |
?[12days 2 2 "%s"]:[string compare [string index $c 0] "/"]==0|| |
| 129 |
[12days 0 [12days -61 [scan [string index $c 0] %c x; set x] \ |
| 130 |
"!ek;dc i@bK'(q)-\[w\]*%n+r3#l,\{\}:\nuwloca-O;m .vpbks,fxntdCeghiry"] \ |
| 131 |
[string range $c 1 end]]} |
| 132 |
} |
| 133 |
proc do_twelve_days {} { |
| 134 |
global xxx |
| 135 |
set xxx "" |
| 136 |
12days 1 1 1 |
| 137 |
set result [string length $xxx] |
| 138 |
unset xxx |
| 139 |
return $result |
| 140 |
} |
| 141 |
|
| 142 |
# start of tests |
| 143 |
|
| 144 |
catch {unset a b i x} |
| 145 |
|
| 146 |
test expr-1.1 {TclCompileExprCmd: no expression} { |
| 147 |
list [catch {expr } msg] $msg |
| 148 |
} {1 {wrong # args: should be "expr arg ?arg ...?"}} |
| 149 |
test expr-1.2 {TclCompileExprCmd: one expression word} { |
| 150 |
expr -25 |
| 151 |
} -25 |
| 152 |
test expr-1.3 {TclCompileExprCmd: two expression words} { |
| 153 |
expr -8.2 -6 |
| 154 |
} -14.2 |
| 155 |
test expr-1.4 {TclCompileExprCmd: five expression words} { |
| 156 |
expr 20 - 5 +10 -7 |
| 157 |
} 18 |
| 158 |
test expr-1.5 {TclCompileExprCmd: quoted expression word} { |
| 159 |
expr "0005" |
| 160 |
} 5 |
| 161 |
test expr-1.6 {TclCompileExprCmd: quoted expression word} { |
| 162 |
catch {expr "0005"zxy} msg |
| 163 |
set msg |
| 164 |
} {extra characters after close-quote} |
| 165 |
test expr-1.7 {TclCompileExprCmd: expression word in braces} { |
| 166 |
expr {-0005} |
| 167 |
} -5 |
| 168 |
test expr-1.8 {TclCompileExprCmd: expression word in braces} { |
| 169 |
expr {{-0x1234}} |
| 170 |
} -4660 |
| 171 |
test expr-1.9 {TclCompileExprCmd: expression word in braces} { |
| 172 |
catch {expr {-0005}foo} msg |
| 173 |
set msg |
| 174 |
} {extra characters after close-brace} |
| 175 |
test expr-1.10 {TclCompileExprCmd: other expression word in braces} { |
| 176 |
expr 4*[llength "6 2"] |
| 177 |
} 8 |
| 178 |
test expr-1.11 {TclCompileExprCmd: expression word terminated by ;} { |
| 179 |
expr 4*[llength "6 2"]; |
| 180 |
} 8 |
| 181 |
test expr-1.12 {TclCompileExprCmd: inlined expr (in "catch") inside other catch} { |
| 182 |
set a xxx |
| 183 |
catch { |
| 184 |
# Might not be a number |
| 185 |
set a [expr 10*$a] |
| 186 |
} |
| 187 |
} 1 |
| 188 |
test expr-1.13 {TclCompileExprCmd: second level of substitutions in expr not in braces with single var reference} { |
| 189 |
set a xxx |
| 190 |
set x 27; set bool {$x}; if $bool {set a foo} |
| 191 |
set a |
| 192 |
} foo |
| 193 |
test expr-1.14 {TclCompileExprCmd: second level of substitutions in expr with comparison as top-level operator} { |
| 194 |
set a xxx |
| 195 |
set x 2; set b {$x}; set a [expr $b == 2] |
| 196 |
set a |
| 197 |
} 1 |
| 198 |
test expr-1.15 {TclCompileExprCmd: second level of substitutions in expr with comparison as top-level operator} { |
| 199 |
set a xxx |
| 200 |
set x 2; set b {$x}; set a [expr $b eq 2] |
| 201 |
set a |
| 202 |
} 1 |
| 203 |
|
| 204 |
test expr-2.1 {TclCompileExpr: are builtin functions registered?} { |
| 205 |
expr double(5*[llength "6 2"]) |
| 206 |
} 10.0 |
| 207 |
test expr-2.2 {TclCompileExpr: error in expr} -body { |
| 208 |
expr 2***3 |
| 209 |
} -returnCodes error -match glob -result * |
| 210 |
test expr-2.3 {TclCompileExpr: junk after legal expr} -body { |
| 211 |
expr 7*[llength "a b"]foo |
| 212 |
} -returnCodes error -match glob -result * |
| 213 |
test expr-2.4 {TclCompileExpr: numeric expr string rep == formatted int rep} { |
| 214 |
expr {0001} |
| 215 |
} 1 |
| 216 |
|
| 217 |
test expr-3.1 {CompileCondExpr: just lor expr} {expr 3||0} 1 |
| 218 |
test expr-3.2 {CompileCondExpr: error in lor expr} -body { |
| 219 |
expr x||3 |
| 220 |
} -returnCodes error -match glob -result * |
| 221 |
test expr-3.3 {CompileCondExpr: test true arm} {expr 3>2?44:66} 44 |
| 222 |
test expr-3.4 {CompileCondExpr: error compiling true arm} -body { |
| 223 |
expr 3>2?2***3:66 |
| 224 |
} -returnCodes error -match glob -result * |
| 225 |
test expr-3.5 {CompileCondExpr: test false arm} {expr 2>3?44:66} 66 |
| 226 |
test expr-3.6 {CompileCondExpr: error compiling false arm} -body { |
| 227 |
expr 2>3?44:2***3 |
| 228 |
} -returnCodes error -match glob -result * |
| 229 |
test expr-3.7 {CompileCondExpr: long arms & nested cond exprs} { |
| 230 |
hello_world |
| 231 |
} {Hello world} |
| 232 |
test expr-3.8 {CompileCondExpr: long arms & nested cond exprs} unix { |
| 233 |
# Fails with a stack overflow on threaded Windows builds |
| 234 |
do_twelve_days |
| 235 |
} 2358 |
| 236 |
|
| 237 |
test expr-4.1 {CompileLorExpr: just land expr} {expr 1.3&&3.3} 1 |
| 238 |
test expr-4.2 {CompileLorExpr: error in land expr} -body { |
| 239 |
expr x&&3 |
| 240 |
} -returnCodes error -match glob -result * |
| 241 |
test expr-4.3 {CompileLorExpr: simple lor exprs} {expr 0||1.0} 1 |
| 242 |
test expr-4.4 {CompileLorExpr: simple lor exprs} {expr 3.0||0.0} 1 |
| 243 |
test expr-4.5 {CompileLorExpr: simple lor exprs} {expr 0||0||1} 1 |
| 244 |
test expr-4.6 {CompileLorExpr: error compiling lor arm} -body { |
| 245 |
expr 2***3||4.0 |
| 246 |
} -returnCodes error -match glob -result * |
| 247 |
test expr-4.7 {CompileLorExpr: error compiling lor arm} -body { |
| 248 |
expr 1.3||2***3 |
| 249 |
} -returnCodes error -match glob -result * |
| 250 |
test expr-4.8 {CompileLorExpr: error compiling lor arms} { |
| 251 |
list [catch {expr {"a"||"b"}} msg] $msg |
| 252 |
} {1 {expected boolean value but got "a"}} |
| 253 |
test expr-4.9 {CompileLorExpr: long lor arm} { |
| 254 |
set a "abcdefghijkl" |
| 255 |
set i 7 |
| 256 |
expr {[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]] || [string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]] || [string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]] || [string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]&&[string compare [format %c $i] [string index $a $i]]} |
| 257 |
} 1 |
| 258 |
test expr-4.10 {CompileLorExpr: error compiling ! operand} { |
| 259 |
list [catch {expr {!"a"}} msg] $msg |
| 260 |
} {1 {can't use non-numeric string as operand of "!"}} |
| 261 |
test expr-4.11 {CompileLorExpr: error compiling land arms} { |
| 262 |
list [catch {expr {"a"||0}} msg] $msg |
| 263 |
} {1 {expected boolean value but got "a"}} |
| 264 |
test expr-4.12 {CompileLorExpr: error compiling land arms} { |
| 265 |
list [catch {expr {0||"a"}} msg] $msg |
| 266 |
} {1 {expected boolean value but got "a"}} |
| 267 |
|
| 268 |
test expr-5.1 {CompileLandExpr: just bitor expr} {expr 7|0x13} 23 |
| 269 |
test expr-5.2 {CompileLandExpr: error in bitor expr} -body { |
| 270 |
expr x|3 |
| 271 |
} -returnCodes error -match glob -result * |
| 272 |
test expr-5.3 {CompileLandExpr: simple land exprs} {expr 0&&1.0} 0 |
| 273 |
test expr-5.4 {CompileLandExpr: simple land exprs} {expr 0&&0} 0 |
| 274 |
test expr-5.5 {CompileLandExpr: simple land exprs} {expr 3.0&&1.2} 1 |
| 275 |
test expr-5.6 {CompileLandExpr: simple land exprs} {expr 1&&1&&2} 1 |
| 276 |
test expr-5.7 {CompileLandExpr: error compiling land arm} -body { |
| 277 |
expr 2***3&&4.0 |
| 278 |
} -returnCodes error -match glob -result * |
| 279 |
test expr-5.8 {CompileLandExpr: error compiling land arm} -body { |
| 280 |
expr 1.3&&2***3 |
| 281 |
} -returnCodes error -match glob -result * |
| 282 |
test expr-5.9 {CompileLandExpr: error compiling land arm} { |
| 283 |
list [catch {expr {"a"&&"b"}} msg] $msg |
| 284 |
} {1 {expected boolean value but got "a"}} |
| 285 |
test expr-5.10 {CompileLandExpr: long land arms} { |
| 286 |
set a "abcdefghijkl" |
| 287 |
set i 7 |
| 288 |
expr {[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]] && [string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]] && [string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]] && [string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]^[string compare [format %c 103] [string index $a $i]]^[string compare [format %c 105] [string index $a $i]]} |
| 289 |
} 1 |
| 290 |
|
| 291 |
test expr-6.1 {CompileBitXorExpr: just bitand expr} {expr 7&0x13} 3 |
| 292 |
test expr-6.2 {CompileBitXorExpr: error in bitand expr} -body { |
| 293 |
expr x|3 |
| 294 |
} -returnCodes error -match glob -result * |
| 295 |
test expr-6.3 {CompileBitXorExpr: simple bitxor exprs} {expr 7^0x13} 20 |
| 296 |
test expr-6.4 {CompileBitXorExpr: simple bitxor exprs} {expr 3^0x10} 19 |
| 297 |
test expr-6.5 {CompileBitXorExpr: simple bitxor exprs} {expr 0^7} 7 |
| 298 |
test expr-6.6 {CompileBitXorExpr: simple bitxor exprs} {expr -1^7} -8 |
| 299 |
test expr-6.7 {CompileBitXorExpr: error compiling bitxor arm} -body { |
| 300 |
expr 2***3|6 |
| 301 |
} -returnCodes error -match glob -result * |
| 302 |
test expr-6.8 {CompileBitXorExpr: error compiling bitxor arm} -body { |
| 303 |
expr 2^x |
| 304 |
} -returnCodes error -match glob -result * |
| 305 |
test expr-6.9 {CompileBitXorExpr: runtime error in bitxor arm} { |
| 306 |
list [catch {expr {24.0^3}} msg] $msg |
| 307 |
} {1 {can't use floating-point value as operand of "^"}} |
| 308 |
test expr-6.10 {CompileBitXorExpr: runtime error in bitxor arm} { |
| 309 |
list [catch {expr {"a"^"b"}} msg] $msg |
| 310 |
} {1 {can't use non-numeric string as operand of "^"}} |
| 311 |
|
| 312 |
test expr-7.1 {CompileBitAndExpr: just equality expr} {expr 3==2} 0 |
| 313 |
test expr-7.2 {CompileBitAndExpr: just equality expr} {expr 2.0==2} 1 |
| 314 |
test expr-7.3 {CompileBitAndExpr: just equality expr} {expr 3.2!=2.2} 1 |
| 315 |
test expr-7.4 {CompileBitAndExpr: just equality expr} {expr {"abc" == "abd"}} 0 |
| 316 |
test expr-7.5 {CompileBitAndExpr: error in equality expr} -body { |
| 317 |
expr x==3 |
| 318 |
} -returnCodes error -match glob -result * |
| 319 |
test expr-7.6 {CompileBitAndExpr: simple bitand exprs} {expr 7&0x13} 3 |
| 320 |
test expr-7.7 {CompileBitAndExpr: simple bitand exprs} {expr 0xf2&0x53} 82 |
| 321 |
test expr-7.8 {CompileBitAndExpr: simple bitand exprs} {expr 3&6} 2 |
| 322 |
test expr-7.9 {CompileBitAndExpr: simple bitand exprs} {expr -1&-7} -7 |
| 323 |
test expr-7.10 {CompileBitAndExpr: error compiling bitand arm} -body { |
| 324 |
expr 2***3&6 |
| 325 |
} -returnCodes error -match glob -result * |
| 326 |
test expr-7.11 {CompileBitAndExpr: error compiling bitand arm} -body { |
| 327 |
expr 2&x |
| 328 |
} -returnCodes error -match glob -result * |
| 329 |
test expr-7.12 {CompileBitAndExpr: runtime error in bitand arm} { |
| 330 |
list [catch {expr {24.0&3}} msg] $msg |
| 331 |
} {1 {can't use floating-point value as operand of "&"}} |
| 332 |
test expr-7.13 {CompileBitAndExpr: runtime error in bitand arm} { |
| 333 |
list [catch {expr {"a"&"b"}} msg] $msg |
| 334 |
} {1 {can't use non-numeric string as operand of "&"}} |
| 335 |
test expr-7.14 {CompileBitAndExpr: equality expr} {expr 3eq2} 0 |
| 336 |
test expr-7.18 {CompileBitAndExpr: equality expr} {expr {"abc" eq "abd"}} 0 |
| 337 |
test expr-7.20 {CompileBitAndExpr: error in equality expr} -body { |
| 338 |
expr xne3 |
| 339 |
} -returnCodes error -match glob -result * |
| 340 |
|
| 341 |
test expr-8.1 {CompileEqualityExpr: just relational expr} {expr 3>=2} 1 |
| 342 |
test expr-8.2 {CompileEqualityExpr: just relational expr} {expr 2<=2.1} 1 |
| 343 |
test expr-8.3 {CompileEqualityExpr: just relational expr} {expr 3.2>"2.2"} 1 |
| 344 |
test expr-8.4 {CompileEqualityExpr: just relational expr} {expr {"0y"<"0x12"}} 0 |
| 345 |
test expr-8.5 {CompileEqualityExpr: error in relational expr} -body { |
| 346 |
expr x>3 |
| 347 |
} -returnCodes error -match glob -result * |
| 348 |
test expr-8.6 {CompileEqualityExpr: simple equality exprs} {expr 7==0x13} 0 |
| 349 |
test expr-8.7 {CompileEqualityExpr: simple equality exprs} {expr -0xf2!=0x53} 1 |
| 350 |
test expr-8.8 {CompileEqualityExpr: simple equality exprs} {expr {"12398712938788234-1298379" != ""}} 1 |
| 351 |
test expr-8.9 {CompileEqualityExpr: simple equality exprs} {expr -1!="abc"} 1 |
| 352 |
test expr-8.10 {CompileEqualityExpr: error compiling equality arm} -body { |
| 353 |
expr 2***3==6 |
| 354 |
} -returnCodes error -match glob -result * |
| 355 |
test expr-8.11 {CompileEqualityExpr: error compiling equality arm} -body { |
| 356 |
expr 2!=x |
| 357 |
} -returnCodes error -match glob -result * |
| 358 |
test expr-8.12 {CompileBitAndExpr: equality expr} {expr {"a"eq"a"}} 1 |
| 359 |
test expr-8.13 {CompileBitAndExpr: equality expr} {expr {"\374" eq [set s \xFC]}} 1 |
| 360 |
test expr-8.14 {CompileBitAndExpr: equality expr} {expr 3eq2} 0 |
| 361 |
test expr-8.15 {CompileBitAndExpr: equality expr} {expr 2.0eq2} 0 |
| 362 |
test expr-8.16 {CompileBitAndExpr: equality expr} {expr 3.2ne2.2} 1 |
| 363 |
test expr-8.17 {CompileBitAndExpr: equality expr} {expr 01eq1} 0 |
| 364 |
test expr-8.18 {CompileBitAndExpr: equality expr} {expr {"abc" eq "abd"}} 0 |
| 365 |
test expr-8.19 {CompileBitAndExpr: equality expr} {expr {"abc" ne "abd"}} 1 |
| 366 |
test expr-8.20 {CompileBitAndExpr: error in equality expr} -body { |
| 367 |
expr x ne3 |
| 368 |
} -returnCodes error -match glob -result * |
| 369 |
test expr-8.21 {CompileBitAndExpr: error in equality expr} -body { |
| 370 |
# These should be ""ed to avoid the error |
| 371 |
expr a eq b |
| 372 |
} -returnCodes error -match glob -result * |
| 373 |
test expr-8.22 {CompileBitAndExpr: error in equality expr} -body { |
| 374 |
expr {false eqfalse} |
| 375 |
} -returnCodes error -match glob -result * |
| 376 |
test expr-8.23 {CompileBitAndExpr: error in equality expr} -body { |
| 377 |
expr {false nefalse} |
| 378 |
} -returnCodes error -match glob -result * |
| 379 |
test expr-8.24 {CompileEqualityExpr: simple equality exprs} { |
| 380 |
set x 12398712938788234 |
| 381 |
expr {$x == 100} |
| 382 |
} 0 |
| 383 |
test expr-8.25 {CompileEqualityExpr: simple equality exprs} { |
| 384 |
expr {"0x12 " == "0x12"} |
| 385 |
} 1 |
| 386 |
test expr-8.26 {CompileEqualityExpr: simple equality exprs} { |
| 387 |
expr {"0x12 " eq "0x12"} |
| 388 |
} 0 |
| 389 |
test expr-8.27 {CompileEqualityExpr: simple equality exprs} { |
| 390 |
expr {"1.0e100000000" == "0.0"} |
| 391 |
} 0 |
| 392 |
test expr-8.28 {CompileEqualityExpr: just relational expr} { |
| 393 |
expr {"0y" == "0x0"} |
| 394 |
} 0 |
| 395 |
test expr-8.29 {CompileEqualityExpr: just relational expr} { |
| 396 |
# Compare original strings from variables. |
| 397 |
set v1 "0y" |
| 398 |
set v2 "0x12" |
| 399 |
expr {$v1 < $v2} |
| 400 |
} 0 |
| 401 |
test expr-8.30 {CompileEqualityExpr: simple equality exprs} { |
| 402 |
expr {"fake" != "bob"} |
| 403 |
} 1 |
| 404 |
test expr-8.31 {expr edge cases} -body { |
| 405 |
expr {1e} |
| 406 |
} -returnCodes error -match glob -result * |
| 407 |
test expr-8.32 {expr edge cases} -body { |
| 408 |
expr {1E} |
| 409 |
} -returnCodes error -match glob -result * |
| 410 |
test expr-8.33 {expr edge cases} -body { |
| 411 |
expr {1e+} |
| 412 |
} -returnCodes error -match glob -result * |
| 413 |
test expr-8.34 {expr edge cases} -body { |
| 414 |
expr {1E+} |
| 415 |
} -returnCodes error -match glob -result * |
| 416 |
test expr-8.35 {expr edge cases} -body { |
| 417 |
expr {1ea} |
| 418 |
} -returnCodes error -match glob -result * |
| 419 |
|
| 420 |
test expr-9.1 {CompileRelationalExpr: just shift expr} {expr 3<<2} 12 |
| 421 |
test expr-9.2 {CompileRelationalExpr: just shift expr} {expr 0xff>>2} 63 |
| 422 |
test expr-9.3 {CompileRelationalExpr: just shift expr} {expr -1>>2} -1 |
| 423 |
test expr-9.4 {CompileRelationalExpr: just shift expr} {expr {1<<3}} 8 |
| 424 |
test expr-9.5a {CompileRelationalExpr: shift expr producing LONG_MIN} longIs64bit { |
| 425 |
expr {int(1<<63)} |
| 426 |
} -9223372036854775808 |
| 427 |
test expr-9.5b {CompileRelationalExpr: shift expr producing LONG_MIN} longIs32bit { |
| 428 |
expr {int(1<<31)} |
| 429 |
} -2147483648 |
| 430 |
test expr-9.6 {CompileRelationalExpr: error in shift expr} -body { |
| 431 |
expr x>>3 |
| 432 |
} -returnCodes error -match glob -result * |
| 433 |
test expr-9.7 {CompileRelationalExpr: simple relational exprs} {expr 0xff>=+0x3} 1 |
| 434 |
test expr-9.8 {CompileRelationalExpr: simple relational exprs} {expr -0xf2<0x3} 1 |
| 435 |
test expr-9.9 {CompileRelationalExpr: error compiling relational arm} -body { |
| 436 |
expr 2***3>6 |
| 437 |
} -returnCodes error -match glob -result * |
| 438 |
test expr-9.10 {CompileRelationalExpr: error compiling relational arm} -body { |
| 439 |
expr 2<x |
| 440 |
} -returnCodes error -match glob -result * |
| 441 |
|
| 442 |
test expr-10.1 {CompileShiftExpr: just add expr} {expr 4+-2} 2 |
| 443 |
test expr-10.2 {CompileShiftExpr: just add expr} {expr 0xff-2} 253 |
| 444 |
test expr-10.3 {CompileShiftExpr: just add expr} {expr -1--2} 1 |
| 445 |
test expr-10.4 {CompileShiftExpr: just add expr} {expr 1-0o123} -82 |
| 446 |
test expr-10.5 {CompileShiftExpr: error in add expr} -body { |
| 447 |
expr x+3 |
| 448 |
} -returnCodes error -match glob -result * |
| 449 |
test expr-10.6 {CompileShiftExpr: simple shift exprs} {expr 0xff>>0x3} 31 |
| 450 |
test expr-10.7 {CompileShiftExpr: simple shift exprs} {expr -0xf2<<0x3} -1936 |
| 451 |
test expr-10.8 {CompileShiftExpr: error compiling shift arm} -body { |
| 452 |
expr 2***3>>6 |
| 453 |
} -returnCodes error -match glob -result * |
| 454 |
test expr-10.9 {CompileShiftExpr: error compiling shift arm} -body { |
| 455 |
expr 2<<x |
| 456 |
} -returnCodes error -match glob -result * |
| 457 |
test expr-10.10 {CompileShiftExpr: runtime error} { |
| 458 |
list [catch {expr {24.0>>43}} msg] $msg |
| 459 |
} {1 {can't use floating-point value as operand of ">>"}} |
| 460 |
test expr-10.11 {CompileShiftExpr: runtime error} { |
| 461 |
list [catch {expr {"a"<<"b"}} msg] $msg |
| 462 |
} {1 {can't use non-numeric string as operand of "<<"}} |
| 463 |
|
| 464 |
test expr-11.1 {CompileAddExpr: just multiply expr} {expr 4*-2} -8 |
| 465 |
test expr-11.2 {CompileAddExpr: just multiply expr} {expr 0xff%2} 1 |
| 466 |
test expr-11.3 {CompileAddExpr: just multiply expr} {expr -1/2} -1 |
| 467 |
test expr-11.4 {CompileAddExpr: just multiply expr} {expr 7891%0o123} 6 |
| 468 |
test expr-11.5 {CompileAddExpr: error in multiply expr} -body { |
| 469 |
expr x*3 |
| 470 |
} -returnCodes error -match glob -result * |
| 471 |
test expr-11.6 {CompileAddExpr: simple add exprs} {expr 0xff++0x3} 258 |
| 472 |
test expr-11.7 {CompileAddExpr: simple add exprs} {expr -0xf2--0x3} -239 |
| 473 |
test expr-11.8 {CompileAddExpr: error compiling add arm} -body { |
| 474 |
expr 2***3+6 |
| 475 |
} -returnCodes error -match glob -result * |
| 476 |
test expr-11.9 {CompileAddExpr: error compiling add arm} -body { |
| 477 |
expr 2-x |
| 478 |
} -returnCodes error -match glob -result * |
| 479 |
test expr-11.10 {CompileAddExpr: runtime error} { |
| 480 |
list [catch {expr {24.0+"xx"}} msg] $msg |
| 481 |
} {1 {can't use non-numeric string as operand of "+"}} |
| 482 |
test expr-11.11 {CompileAddExpr: runtime error} { |
| 483 |
list [catch {expr {"a"-"b"}} msg] $msg |
| 484 |
} {1 {can't use non-numeric string as operand of "-"}} |
| 485 |
test expr-11.12 {CompileAddExpr: runtime error} { |
| 486 |
list [catch {expr {3/0}} msg] $msg |
| 487 |
} {1 {divide by zero}} |
| 488 |
test expr-11.13a {CompileAddExpr: runtime error} !ieeeFloatingPoint { |
| 489 |
list [catch {expr {2.3/0.0}} msg] $msg |
| 490 |
} {1 {divide by zero}} |
| 491 |
test expr-11.13b {CompileAddExpr: runtime error} ieeeFloatingPoint { |
| 492 |
list [catch {expr {2.3/0.0}} msg] $msg |
| 493 |
} {0 Inf} |
| 494 |
|
| 495 |
test expr-12.1 {CompileMultiplyExpr: just unary expr} {expr ~4} -5 |
| 496 |
test expr-12.2 {CompileMultiplyExpr: just unary expr} {expr --5} 5 |
| 497 |
test expr-12.3 {CompileMultiplyExpr: just unary expr} {expr !27} 0 |
| 498 |
test expr-12.4 {CompileMultiplyExpr: just unary expr} {expr ~0xff00ff} -16711936 |
| 499 |
test expr-12.5 {CompileMultiplyExpr: error in unary expr} -body { |
| 500 |
expr ~x |
| 501 |
} -returnCodes error -match glob -result * |
| 502 |
test expr-12.6 {CompileMultiplyExpr: simple multiply exprs} {expr 0xff*0x3} 765 |
| 503 |
test expr-12.7 {CompileMultiplyExpr: simple multiply exprs} {expr -0xf2%-0x3} -2 |
| 504 |
test expr-12.8 {CompileMultiplyExpr: error compiling multiply arm} -body { |
| 505 |
expr 2*3%%6 |
| 506 |
} -returnCodes error -match glob -result * |
| 507 |
test expr-12.9 {CompileMultiplyExpr: error compiling multiply arm} -body { |
| 508 |
expr 2*x |
| 509 |
} -returnCodes error -match glob -result * |
| 510 |
test expr-12.10 {CompileMultiplyExpr: runtime error} { |
| 511 |
list [catch {expr {24.0*"xx"}} msg] $msg |
| 512 |
} {1 {can't use non-numeric string as operand of "*"}} |
| 513 |
test expr-12.11 {CompileMultiplyExpr: runtime error} { |
| 514 |
list [catch {expr {"a"/"b"}} msg] $msg |
| 515 |
} {1 {can't use non-numeric string as operand of "/"}} |
| 516 |
|
| 517 |
test expr-13.1 {CompileUnaryExpr: unary exprs} {expr -0xff} -255 |
| 518 |
test expr-13.2 {CompileUnaryExpr: unary exprs} {expr +0o00123} 83 |
| 519 |
test expr-13.3 {CompileUnaryExpr: unary exprs} {expr +--++36} 36 |
| 520 |
test expr-13.4 {CompileUnaryExpr: unary exprs} {expr !2} 0 |
| 521 |
test expr-13.5 {CompileUnaryExpr: unary exprs} {expr +--+-62.0} -62.0 |
| 522 |
test expr-13.6 {CompileUnaryExpr: unary exprs} {expr !0.0} 1 |
| 523 |
test expr-13.7 {CompileUnaryExpr: unary exprs} {expr !0xef} 0 |
| 524 |
test expr-13.8 {CompileUnaryExpr: error compiling unary expr} -body { |
| 525 |
expr ~x |
| 526 |
} -returnCodes error -match glob -result * |
| 527 |
test expr-13.9 {CompileUnaryExpr: error compiling unary expr} -body { |
| 528 |
expr !1.x |
| 529 |
} -returnCodes error -match glob -result * |
| 530 |
test expr-13.10 {CompileUnaryExpr: runtime error} { |
| 531 |
list [catch {expr {~"xx"}} msg] $msg |
| 532 |
} {1 {can't use non-numeric string as operand of "~"}} |
| 533 |
test expr-13.11 {CompileUnaryExpr: runtime error} { |
| 534 |
list [catch {expr ~4.0} msg] $msg |
| 535 |
} {1 {can't use floating-point value as operand of "~"}} |
| 536 |
test expr-13.12 {CompileUnaryExpr: just primary expr} {expr 0x123} 291 |
| 537 |
test expr-13.13 {CompileUnaryExpr: just primary expr} { |
| 538 |
set a 27 |
| 539 |
expr $a |
| 540 |
} 27 |
| 541 |
test expr-13.14 {CompileUnaryExpr: just primary expr} { |
| 542 |
expr double(27) |
| 543 |
} 27.0 |
| 544 |
test expr-13.15 {CompileUnaryExpr: just primary expr} {expr "123"} 123 |
| 545 |
test expr-13.16 {CompileUnaryExpr: error in primary expr} { |
| 546 |
catch {expr [set]} msg |
| 547 |
set msg |
| 548 |
} {wrong # args: should be "set varName ?newValue?"} |
| 549 |
test expr-13.17 {CompileUnaryExpr: negating non-numeric boolean literals} { |
| 550 |
set a1 yes; set a0 no; set b1 true; set b0 false |
| 551 |
list [expr {!$a1}] [expr {!$a0}] [expr {!$b1}] [expr {!$b0}] |
| 552 |
} {0 1 0 1} |
| 553 |
|
| 554 |
test expr-14.1 {CompilePrimaryExpr: literal primary} {expr 1} 1 |
| 555 |
test expr-14.2 {CompilePrimaryExpr: literal primary} {expr 123} 123 |
| 556 |
test expr-14.3 {CompilePrimaryExpr: literal primary} {expr 0xff} 255 |
| 557 |
test expr-14.4 {CompilePrimaryExpr: literal primary} {expr 0o0010} 8 |
| 558 |
test expr-14.5 {CompilePrimaryExpr: literal primary} {expr 62.0} 62.0 |
| 559 |
test expr-14.6 {CompilePrimaryExpr: literal primary} { |
| 560 |
expr 3.1400000 |
| 561 |
} 3.14 |
| 562 |
test expr-14.7 {CompilePrimaryExpr: literal primary} {expr {{abcde}<{abcdef}}} 1 |
| 563 |
test expr-14.8 {CompilePrimaryExpr: literal primary} {expr {{abc\ |
| 564 |
def} < {abcdef}}} 1 |
| 565 |
test expr-14.9 {CompilePrimaryExpr: literal primary} {expr {{abc\tde} > {abc\tdef}}} 0 |
| 566 |
test expr-14.10 {CompilePrimaryExpr: literal primary} {expr {{123}}} 123 |
| 567 |
test expr-14.11 {CompilePrimaryExpr: var reference primary} { |
| 568 |
set i 789 |
| 569 |
list [expr {$i}] [expr $i] |
| 570 |
} {789 789} |
| 571 |
test expr-14.12 {CompilePrimaryExpr: var reference primary} { |
| 572 |
set i {789} ;# test expr's aggressive conversion to numeric semantics |
| 573 |
list [expr {$i}] [expr $i] |
| 574 |
} {789 789} |
| 575 |
test expr-14.13 {CompilePrimaryExpr: var reference primary} { |
| 576 |
catch {unset a} |
| 577 |
set a(foo) foo |
| 578 |
set a(bar) bar |
| 579 |
set a(123) 123 |
| 580 |
set result "" |
| 581 |
lappend result [expr $a(123)] [expr {$a(bar)<$a(foo)}] |
| 582 |
catch {unset a} |
| 583 |
set result |
| 584 |
} {123 1} |
| 585 |
test expr-14.14 {CompilePrimaryExpr: var reference primary} { |
| 586 |
set i 123 ;# test "$var.0" floating point conversion hack |
| 587 |
list [expr $i] [expr $i.0] [expr $i.0/12.0] |
| 588 |
} {123 123.0 10.25} |
| 589 |
test expr-14.15 {CompilePrimaryExpr: var reference primary} { |
| 590 |
set i 123 |
| 591 |
catch {expr $i.2} msg |
| 592 |
set msg |
| 593 |
} 123.2 |
| 594 |
test expr-14.16 {CompilePrimaryExpr: error compiling var reference primary} -body { |
| 595 |
expr {$a(foo} |
| 596 |
} -returnCodes error -match glob -result * |
| 597 |
test expr-14.17 {CompilePrimaryExpr: string primary that looks like var ref} -body { |
| 598 |
expr $ |
| 599 |
} -returnCodes error -match glob -result * |
| 600 |
test expr-14.18 {CompilePrimaryExpr: quoted string primary} { |
| 601 |
expr "21" |
| 602 |
} 21 |
| 603 |
test expr-14.19 {CompilePrimaryExpr: quoted string primary} { |
| 604 |
set i 123 |
| 605 |
set x 456 |
| 606 |
expr "$i+$x" |
| 607 |
} 579 |
| 608 |
test expr-14.20 {CompilePrimaryExpr: quoted string primary} { |
| 609 |
set i 3 |
| 610 |
set x 6 |
| 611 |
expr 2+"$i.$x" |
| 612 |
} 5.6 |
| 613 |
test expr-14.21 {CompilePrimaryExpr: error in quoted string primary} { |
| 614 |
catch {expr "[set]"} msg |
| 615 |
set msg |
| 616 |
} {wrong # args: should be "set varName ?newValue?"} |
| 617 |
test expr-14.22 {CompilePrimaryExpr: subcommand primary} { |
| 618 |
expr {[set i 123; set i]} |
| 619 |
} 123 |
| 620 |
test expr-14.23 {CompilePrimaryExpr: error in subcommand primary} -body { |
| 621 |
catch {expr {[set]}} msg |
| 622 |
set ::errorInfo |
| 623 |
} -match glob -result {wrong # args: should be "set varName ?newValue?" |
| 624 |
while *ing |
| 625 |
"set"*} |
| 626 |
test expr-14.24 {CompilePrimaryExpr: error in subcommand primary} -body { |
| 627 |
expr {[set i} |
| 628 |
} -returnCodes error -match glob -result * |
| 629 |
test expr-14.25 {CompilePrimaryExpr: math function primary} { |
| 630 |
format %.6g [expr exp(1.0)] |
| 631 |
} 2.71828 |
| 632 |
test expr-14.26 {CompilePrimaryExpr: math function primary} { |
| 633 |
format %.6g [expr pow(2.0+0.1,3.0+0.1)] |
| 634 |
} 9.97424 |
| 635 |
test expr-14.27 {CompilePrimaryExpr: error in math function primary} -body { |
| 636 |
expr sinh::(2.0) |
| 637 |
} -returnCodes error -match glob -result * |
| 638 |
test expr-14.28 {CompilePrimaryExpr: subexpression primary} { |
| 639 |
expr 2+(3*4) |
| 640 |
} 14 |
| 641 |
test expr-14.29 {CompilePrimaryExpr: error in subexpression primary} -body { |
| 642 |
catch {expr 2+(3*[set])} msg |
| 643 |
set ::errorInfo |
| 644 |
} -match glob -result {wrong # args: should be "set varName ?newValue?" |
| 645 |
while *ing |
| 646 |
"set"*} |
| 647 |
test expr-14.30 {CompilePrimaryExpr: missing paren in subexpression primary} -body { |
| 648 |
expr 2+(3*(4+5) |
| 649 |
} -returnCodes error -match glob -result * |
| 650 |
test expr-14.31 {CompilePrimaryExpr: just var ref in subexpression primary} { |
| 651 |
set i "5+10" |
| 652 |
list "[expr $i] == 15" "[expr ($i)] == 15" "[eval expr ($i)] == 15" |
| 653 |
} {{15 == 15} {15 == 15} {15 == 15}} |
| 654 |
test expr-14.32 {CompilePrimaryExpr: unexpected token} -body { |
| 655 |
expr @ |
| 656 |
} -returnCodes error -match glob -result * |
| 657 |
|
| 658 |
test expr-15.1 {CompileMathFuncCall: missing parenthesis} -body { |
| 659 |
expr sinh2.0) |
| 660 |
} -returnCodes error -match glob -result * |
| 661 |
test expr-15.2 {CompileMathFuncCall: unknown math function} -body { |
| 662 |
catch {expr whazzathuh(1)} msg |
| 663 |
set ::errorInfo |
| 664 |
} -match glob -result {* "*whazzathuh" |
| 665 |
while *ing |
| 666 |
"expr whazzathuh(1)"} |
| 667 |
test expr-15.3 {CompileMathFuncCall: too many arguments} -body { |
| 668 |
catch {expr sin(1,2,3)} msg |
| 669 |
set ::errorInfo |
| 670 |
} -match glob -result {too many arguments for math function* |
| 671 |
while *ing |
| 672 |
"expr sin(1,2,3)"} |
| 673 |
test expr-15.4 {CompileMathFuncCall: ')' found before last required arg} -body { |
| 674 |
catch {expr sin()} msg |
| 675 |
set ::errorInfo |
| 676 |
} -match glob -result {not enough arguments for math function* |
| 677 |
while *ing |
| 678 |
"expr sin()"} |
| 679 |
test expr-15.5 {CompileMathFuncCall: not enough arguments} -body { |
| 680 |
catch {expr pow(1)} msg |
| 681 |
set ::errorInfo |
| 682 |
} -match glob -result {not enough arguments for math function* |
| 683 |
while *ing |
| 684 |
"expr pow(1)"} |
| 685 |
test expr-15.6 {CompileMathFuncCall: missing ')'} -body { |
| 686 |
expr sin(1 |
| 687 |
} -returnCodes error -match glob -result * |
| 688 |
test expr-15.7 {CompileMathFuncCall: call registered math function} {testmathfunctions} { |
| 689 |
expr 2*T1() |
| 690 |
} 246 |
| 691 |
test expr-15.8 {CompileMathFuncCall: call registered math function} {testmathfunctions} { |
| 692 |
expr T2()*3 |
| 693 |
} 1035 |
| 694 |
test expr-15.9 {CompileMathFuncCall: call registered math function} {testmathfunctions} { |
| 695 |
expr T3(21, 37) |
| 696 |
} 37 |
| 697 |
test expr-15.10 {CompileMathFuncCall: call registered math function} {testmathfunctions} { |
| 698 |
expr T3(21.2, 37) |
| 699 |
} 37.0 |
| 700 |
test expr-15.11 {CompileMathFuncCall: call registered math function} {testmathfunctions} { |
| 701 |
expr T3(-21.2, -17.5) |
| 702 |
} -17.5 |
| 703 |
test expr-15.12 {ExprCallMathFunc: call registered math function} {testmathfunctions} { |
| 704 |
expr T3(21, wide(37)) |
| 705 |
} 37 |
| 706 |
test expr=15.13 {ExprCallMathFunc: call registered math function} {testmathfunctions} { |
| 707 |
expr T3(wide(21), 37) |
| 708 |
} 37 |
| 709 |
test expr=15.14 {ExprCallMathFunc: call registered math function} {testmathfunctions} { |
| 710 |
expr T3(wide(21), wide(37)) |
| 711 |
} 37 |
| 712 |
test expr-15.15 {ExprCallMathFunc: call registered math function} {testmathfunctions} { |
| 713 |
expr T3(21.0, wide(37)) |
| 714 |
} 37.0 |
| 715 |
test expr-15.16 {ExprCallMathFunc: call registered math function} {testmathfunctions} { |
| 716 |
expr T3(wide(21), 37.0) |
| 717 |
} 37.0 |
| 718 |
test expr-15.17 {ExprCallMathFunc: non-numeric arg} -constraints { |
| 719 |
testmathfunctions |
| 720 |
} -body { |
| 721 |
expr T3(0,"a") |
| 722 |
} -returnCodes error -result {argument to math function didn't have numeric value} |
| 723 |
|
| 724 |
|
| 725 |
test expr-16.1 {GetToken: checks whether integer token starting with "0x" (e.g., "0x$") is invalid} { |
| 726 |
catch {unset a} |
| 727 |
set a(VALUE) ff15 |
| 728 |
set i 123 |
| 729 |
if {[expr 0x$a(VALUE)] & 16} { |
| 730 |
set i {} |
| 731 |
} |
| 732 |
set i |
| 733 |
} {} |
| 734 |
test expr-16.2 {GetToken: check for string literal in braces} { |
| 735 |
expr {{1}} |
| 736 |
} {1} |
| 737 |
|
| 738 |
# Check "expr" and computed command names. |
| 739 |
|
| 740 |
test expr-17.1 {expr and computed command names} { |
| 741 |
set i 0 |
| 742 |
set z expr |
| 743 |
$z 1+2 |
| 744 |
} 3 |
| 745 |
|
| 746 |
# Check correct conversion of operands to numbers: If the string looks like |
| 747 |
# an integer, convert to integer. Otherwise, if the string looks like a |
| 748 |
# double, convert to double. |
| 749 |
|
| 750 |
test expr-18.1 {expr and conversion of operands to numbers} { |
| 751 |
set x [lindex 11 0] |
| 752 |
catch {expr int($x)} |
| 753 |
expr {$x} |
| 754 |
} 11 |
| 755 |
test expr-18.2 {whitespace strings should not be == 0 (buggy strtod)} { |
| 756 |
expr {" "} |
| 757 |
} { } |
| 758 |
|
| 759 |
# Check "expr" and interpreter result object resetting before appending |
| 760 |
# an error msg during evaluation of exprs not in {}s |
| 761 |
|
| 762 |
test expr-19.1 {expr and interpreter result object resetting} { |
| 763 |
proc p {} { |
| 764 |
set t 10.0 |
| 765 |
set x 2.0 |
| 766 |
set dx 0.2 |
| 767 |
set f {$dx-$x/10} |
| 768 |
set g {-$x/5} |
| 769 |
set center 1.0 |
| 770 |
set x [expr $x-$center] |
| 771 |
set dx [expr $dx+$g] |
| 772 |
set x [expr $x+$f+$center] |
| 773 |
set x [expr $x+$f+$center] |
| 774 |
set y [expr round($x)] |
| 775 |
} |
| 776 |
p |
| 777 |
} 3 |
| 778 |
|
| 779 |
# Test for incorrect "double evaluation" semantics |
| 780 |
|
| 781 |
test expr-20.1 {wrong brace matching} { |
| 782 |
catch {unset l} |
| 783 |
catch {unset r} |
| 784 |
catch {unset q} |
| 785 |
catch {unset cmd} |
| 786 |
catch {unset a} |
| 787 |
set l "\{"; set r "\}"; set q "\"" |
| 788 |
set cmd "expr $l$q|$q == $q$r$q$r" |
| 789 |
list [catch $cmd a] $a |
| 790 |
} {1 {extra characters after close-brace}} |
| 791 |
test expr-20.2 {double invocation of variable traces} -body { |
| 792 |
set exprtracecounter 0 |
| 793 |
proc exprtraceproc {args} { |
| 794 |
upvar #0 exprtracecounter counter |
| 795 |
set argc [llength $args] |
| 796 |
set extraargs [lrange $args 0 [expr {$argc - 4}]] |
| 797 |
set name [lindex $args [expr {$argc - 3}]] |
| 798 |
upvar 1 $name var |
| 799 |
if {[incr counter] % 2 == 1} { |
| 800 |
set var "$counter oops [concat $extraargs]" |
| 801 |
} else { |
| 802 |
set var "$counter + [concat $extraargs]" |
| 803 |
} |
| 804 |
} |
| 805 |
trace add variable exprtracevar read [list exprtraceproc 10] |
| 806 |
list [catch {expr "$exprtracevar + 20"} a] $a \ |
| 807 |
[catch {expr "$exprtracevar + 20"} b] $b \ |
| 808 |
[unset exprtracevar exprtracecounter] |
| 809 |
} -match glob -result {1 * 0 32 {}} |
| 810 |
test expr-20.3 {broken substitution of integer digits} { |
| 811 |
# fails with 8.0.x, but not 8.1b2 |
| 812 |
list [set a 000; expr 0x1$a] [set a 1; expr ${a}000] |
| 813 |
} {4096 1000} |
| 814 |
test expr-20.4 {proper double evaluation compilation, error case} { |
| 815 |
catch {unset a}; # make sure $a doesn't exist |
| 816 |
list [catch {expr 1?{$a}:0} msg] $msg |
| 817 |
} {1 {can't read "a": no such variable}} |
| 818 |
test expr-20.5 {proper double evaluation compilation, working case} { |
| 819 |
set a yellow |
| 820 |
expr 1?{$a}:0 |
| 821 |
} yellow |
| 822 |
test expr-20.6 {handling of compile error in trial compile} { |
| 823 |
list [catch {expr + {[incr]}} msg] $msg |
| 824 |
} {1 {wrong # args: should be "incr varName ?increment?"}} |
| 825 |
test expr-20.7 {handling of compile error in runtime case} { |
| 826 |
list [catch {expr + {[error foo]}} msg] $msg |
| 827 |
} {1 foo} |
| 828 |
|
| 829 |
# Test for non-numeric boolean literal handling |
| 830 |
test expr-21.1 {non-numeric boolean literals} {expr false } false |
| 831 |
test expr-21.2 {non-numeric boolean literals} {expr true } true |
| 832 |
test expr-21.3 {non-numeric boolean literals} {expr off } off |
| 833 |
test expr-21.4 {non-numeric boolean literals} {expr on } on |
| 834 |
test expr-21.5 {non-numeric boolean literals} {expr no } no |
| 835 |
test expr-21.6 {non-numeric boolean literals} {expr yes } yes |
| 836 |
test expr-21.7 {non-numeric boolean literals} {expr !false} 1 |
| 837 |
test expr-21.8 {non-numeric boolean literals} {expr !true } 0 |
| 838 |
test expr-21.9 {non-numeric boolean literals} {expr !off } 1 |
| 839 |
test expr-21.10 {non-numeric boolean literals} {expr !on } 0 |
| 840 |
test expr-21.11 {non-numeric boolean literals} {expr !no } 1 |
| 841 |
test expr-21.12 {non-numeric boolean literals} {expr !yes } 0 |
| 842 |
test expr-21.13 {non-numeric boolean literals} -body { |
| 843 |
expr !truef |
| 844 |
} -returnCodes error -match glob -result * |
| 845 |
test expr-21.14 {non-numeric boolean literals} { |
| 846 |
list [catch {expr !"truef"} err] $err |
| 847 |
} {1 {can't use non-numeric string as operand of "!"}} |
| 848 |
test expr-21.15 {non-numeric boolean variables} { |
| 849 |
set v truef |
| 850 |
list [catch {expr {!$v}} err] $err |
| 851 |
} {1 {can't use non-numeric string as operand of "!"}} |
| 852 |
test expr-21.16 {non-numeric boolean variables} { |
| 853 |
set v "true " |
| 854 |
list [catch {expr {!$v}} err] $err |
| 855 |
} {1 {can't use non-numeric string as operand of "!"}} |
| 856 |
test expr-21.17 {non-numeric boolean variables} { |
| 857 |
set v "tru" |
| 858 |
list [catch {expr {!$v}} err] $err |
| 859 |
} {0 0} |
| 860 |
test expr-21.18 {non-numeric boolean variables} { |
| 861 |
set v "fal" |
| 862 |
list [catch {expr {!$v}} err] $err |
| 863 |
} {0 1} |
| 864 |
test expr-21.19 {non-numeric boolean variables} { |
| 865 |
set v "y" |
| 866 |
list [catch {expr {!$v}} err] $err |
| 867 |
} {0 0} |
| 868 |
test expr-21.20 {non-numeric boolean variables} { |
| 869 |
set v "of" |
| 870 |
list [catch {expr {!$v}} err] $err |
| 871 |
} {0 1} |
| 872 |
test expr-21.21 {non-numeric boolean variables} { |
| 873 |
set v "o" |
| 874 |
list [catch {expr {!$v}} err] $err |
| 875 |
} {1 {can't use non-numeric string as operand of "!"}} |
| 876 |
test expr-21.22 {non-numeric boolean variables} { |
| 877 |
set v "" |
| 878 |
list [catch {expr {!$v}} err] $err |
| 879 |
} {1 {can't use empty string as operand of "!"}} |
| 880 |
|
| 881 |
# Test for non-numeric float handling. |
| 882 |
test expr-22.1 {non-numeric floats} { |
| 883 |
list [catch {expr {NaN + 1}} msg] $msg |
| 884 |
} {1 {can't use non-numeric floating-point value as operand of "+"}} |
| 885 |
test expr-22.2 {non-numeric floats} !ieeeFloatingPoint { |
| 886 |
list [catch {expr {Inf + 1}} msg] $msg |
| 887 |
} {1 {can't use infinite floating-point value as operand of "+"}} |
| 888 |
test expr-22.3 {non-numeric floats} { |
| 889 |
set nan NaN |
| 890 |
list [catch {expr {$nan + 1}} msg] $msg |
| 891 |
} {1 {can't use non-numeric floating-point value as operand of "+"}} |
| 892 |
test expr-22.4 {non-numeric floats} !ieeeFloatingPoint { |
| 893 |
set inf Inf |
| 894 |
list [catch {expr {$inf + 1}} msg] $msg |
| 895 |
} {1 {can't use infinite floating-point value as operand of "+"}} |
| 896 |
test expr-22.5 {non-numeric floats} { |
| 897 |
list [catch {expr NaN} msg] $msg |
| 898 |
} {1 {domain error: argument not in valid range}} |
| 899 |
test expr-22.6 {non-numeric floats} !ieeeFloatingPoint { |
| 900 |
list [catch {expr Inf} msg] $msg |
| 901 |
} {1 {floating-point value too large to represent}} |
| 902 |
test expr-22.7 {non-numeric floats} { |
| 903 |
list [catch {expr {1 / NaN}} msg] $msg |
| 904 |
} {1 {can't use non-numeric floating-point value as operand of "/"}} |
| 905 |
test expr-22.8 {non-numeric floats} !ieeeFloatingPoint { |
| 906 |
list [catch {expr {1 / Inf}} msg] $msg |
| 907 |
} {1 {can't use infinite floating-point value as operand of "/"}} |
| 908 |
# Make sure [Bug 761471] stays fixed. |
| 909 |
test expr-22.9 {non-numeric floats: shared object equality and NaN} { |
| 910 |
set x NaN |
| 911 |
expr {$x == $x} |
| 912 |
} 0 |
| 913 |
# Make sure [Bug d0f7ba56f0] stays fixed. |
| 914 |
test expr-22.10 {non-numeric arguments: equality and NaN} { |
| 915 |
set x NaN |
| 916 |
expr {$x > "Gran"} |
| 917 |
} 1 |
| 918 |
test expr-22.11 {non-numeric arguments: equality and NaN} { |
| 919 |
set x NaN |
| 920 |
expr {"Gran" < $x} |
| 921 |
} 1 |
| 922 |
|
| 923 |
# Tests for exponentiation handling |
| 924 |
test expr-23.1 {CompileExponentialExpr: just exponential expr} {expr 4**2} 16 |
| 925 |
test expr-23.2 {CompileExponentialExpr: just exponential expr} {expr 0xff**2} 65025 |
| 926 |
test expr-23.3 {CompileExponentialExpr: just exponential expr} {expr -1**2} 1 |
| 927 |
test expr-23.4 {CompileExponentialExpr: just exponential expr} {expr 18**07} 612220032 |
| 928 |
test expr-23.5 {CompileExponentialExpr: error in exponential expr} -body { |
| 929 |
expr x**3 |
| 930 |
} -returnCodes error -match glob -result * |
| 931 |
test expr-23.6 {CompileExponentialExpr: simple expo exprs} {expr 0xff**0x3} 16581375 |
| 932 |
test expr-23.7 {CompileExponentialExpr: error compiling expo arm} -body { |
| 933 |
expr (-3-)**6 |
| 934 |
} -returnCodes error -match glob -result * |
| 935 |
test expr-23.8 {CompileExponentialExpr: error compiling expo arm} -body { |
| 936 |
expr 2**x |
| 937 |
} -returnCodes error -match glob -result * |
| 938 |
test expr-23.9 {CompileExponentialExpr: runtime error} { |
| 939 |
list [catch {expr {24.0**"xx"}} msg] $msg |
| 940 |
} {1 {can't use non-numeric string as operand of "**"}} |
| 941 |
test expr-23.10 {CompileExponentialExpr: runtime error} { |
| 942 |
list [catch {expr {"a"**2}} msg] $msg |
| 943 |
} {1 {can't use non-numeric string as operand of "**"}} |
| 944 |
test expr-23.11 {CompileExponentialExpr: runtime error} { |
| 945 |
list [catch {expr {0**-1}} msg] $msg |
| 946 |
} {1 {exponentiation of zero by negative power}} |
| 947 |
test expr-23.12 {CompileExponentialExpr: runtime error} { |
| 948 |
list [catch {expr {0.0**-1.0}} msg] $msg |
| 949 |
} {1 {exponentiation of zero by negative power}} |
| 950 |
test expr-23.13 {CompileExponentialExpr: runtime error} { |
| 951 |
list [catch {expr {wide(0)**wide(-1)}} msg] $msg |
| 952 |
} {1 {exponentiation of zero by negative power}} |
| 953 |
test expr-23.14 {INST_EXPON: special cases} {expr {0**1}} 0 |
| 954 |
test expr-23.15 {INST_EXPON: special cases} {expr {0**0}} 1 |
| 955 |
test expr-23.16 {INST_EXPON: special cases} {expr {-2**-1}} 0 |
| 956 |
test expr-23.17 {INST_EXPON: special cases} {expr {-2**0}} 1 |
| 957 |
test expr-23.18 {INST_EXPON: special cases} {expr {-1**1}} -1 |
| 958 |
test expr-23.19 {INST_EXPON: special cases} {expr {-1**0}} 1 |
| 959 |
test expr-23.20 {INST_EXPON: special cases} {expr {-1**2}} 1 |
| 960 |
test expr-23.21 {INST_EXPON: special cases} {expr {-1**-1}} -1 |
| 961 |
test expr-23.22 {INST_EXPON: special cases} {expr {1**1234567}} 1 |
| 962 |
test expr-23.23 {INST_EXPON: special cases} {expr {2**-2}} 0 |
| 963 |
test expr-23.24 {INST_EXPON: special cases} {expr {wide(0)**wide(1)}} 0 |
| 964 |
test expr-23.25 {INST_EXPON: special cases} {expr {wide(0)**wide(0)}} 1 |
| 965 |
test expr-23.26 {INST_EXPON: special cases} {expr {wide(-2)**wide(-1)}} 0 |
| 966 |
test expr-23.27 {INST_EXPON: special cases} {expr {wide(-2)**wide(0)}} 1 |
| 967 |
test expr-23.28 {INST_EXPON: special cases} {expr {wide(-1)**wide(1)}} -1 |
| 968 |
test expr-23.29 {INST_EXPON: special cases} {expr {wide(-1)**wide(0)}} 1 |
| 969 |
test expr-23.30 {INST_EXPON: special cases} {expr {wide(-1)**wide(2)}} 1 |
| 970 |
test expr-23.31 {INST_EXPON: special cases} {expr {wide(-1)**wide(-1)}} -1 |
| 971 |
test expr-23.32 {INST_EXPON: special cases} {expr {wide(1)**wide(1234567)}} 1 |
| 972 |
test expr-23.33 {INST_EXPON: special cases} {expr {wide(2)**wide(-2)}} 0 |
| 973 |
test expr-23.34 {INST_EXPON: special cases} {expr {2**0}} 1 |
| 974 |
test expr-23.35 {INST_EXPON: special cases} {expr {wide(2)**0}} 1 |
| 975 |
test expr-23.36 {INST_EXPON: big integer} {expr {10**17}} 1[string repeat 0 17] |
| 976 |
test expr-23.37 {INST_EXPON: big integer} {expr {10**18}} 1[string repeat 0 18] |
| 977 |
test expr-23.38 {INST_EXPON: big integer} {expr {10**19}} 1[string repeat 0 19] |
| 978 |
test expr-23.39 {INST_EXPON: big integer} { |
| 979 |
expr 1[string repeat 0 30]**2 |
| 980 |
} 1[string repeat 0 60] |
| 981 |
test expr-23.40 {INST_EXPON: overflow to big integer} {expr {(-10)**3}} -1000 |
| 982 |
test expr-23.41 {INST_EXPON: overflow to big integer} {expr 2**64} [expr 1<<64] |
| 983 |
test expr-23.42 {INST_EXPON: overflow to big integer} {expr 4**32} [expr 1<<64] |
| 984 |
test expr-23.43 {INST_EXPON: overflow to big integer} {expr 16**16} [expr 1<<64] |
| 985 |
test expr-23.44 {INST_EXPON: overflow to big integer} {expr 256**8} [expr 1<<64] |
| 986 |
test expr-23.45 {INST_EXPON: Bug 1555371} {expr 2**1} 2 |
| 987 |
test expr-23.46 {INST_EXPON: Bug 1561260} -body { |
| 988 |
expr 5**28 |
| 989 |
} -match glob -result *5 |
| 990 |
test expr-23.47 {INST_EXPON: Bug 1561260} { |
| 991 |
expr 2**32*5**32 |
| 992 |
} 1[string repeat 0 32] |
| 993 |
test expr-23.48 {INST_EXPON: TIP 274: right assoc} { |
| 994 |
expr 2**3**4 |
| 995 |
} 2417851639229258349412352 |
| 996 |
test expr-23.49 {INST_EXPON: optimize powers of 2} { |
| 997 |
set trouble {test powers of 2} |
| 998 |
for {set tval 0} {$tval <= 66} {incr tval} { |
| 999 |
set is [expr {2 ** $tval}] |
| 1000 |
set sb [expr {1 << $tval}] |
| 1001 |
if {$is != $sb} { |
| 1002 |
append trouble \n "2**" $tval " is " $is " should be " $sb |
| 1003 |
} |
| 1004 |
if {$tval >= 1} { |
| 1005 |
set is [expr {-2 ** $tval}] |
| 1006 |
set sb [expr {1 << $tval}] |
| 1007 |
if {$tval & 1} { |
| 1008 |
set sb [expr {-$sb}] |
| 1009 |
} |
| 1010 |
if {$is != $sb} { |
| 1011 |
append trouble \n "-2**" $tval " is " $is " should be " $sb |
| 1012 |
} |
| 1013 |
} |
| 1014 |
} |
| 1015 |
set trouble |
| 1016 |
} {test powers of 2} |
| 1017 |
test expr-23.50 {INST_EXPON: small powers of 32-bit integers} { |
| 1018 |
set trouble {test small powers of 32-bit ints} |
| 1019 |
for {set base 3} {$base <= 45} {incr base} { |
| 1020 |
set sb $base |
| 1021 |
set sbm [expr {-$base}] |
| 1022 |
for {set expt 2} {$expt <= 8} {incr expt} { |
| 1023 |
set sb [expr {$sb * $base}] |
| 1024 |
set is [expr {$base ** $expt}] |
| 1025 |
if {$sb != $is} { |
| 1026 |
append trouble \n $base ** $expt " is " $is " should be " $sb |
| 1027 |
} |
| 1028 |
set sbm [expr {-$sbm * $base}] |
| 1029 |
set ism [expr {(-$base) ** $expt}] |
| 1030 |
if {$sbm != $ism} { |
| 1031 |
append trouble \n - $base ** $expt " is " $ism \ |
| 1032 |
" should be " $sbm |
| 1033 |
} |
| 1034 |
} |
| 1035 |
} |
| 1036 |
set trouble |
| 1037 |
} {test small powers of 32-bit ints} |
| 1038 |
test expr-23.51 {INST_EXPON: intermediate powers of 32-bit integers} { |
| 1039 |
set trouble {test intermediate powers of 32-bit ints} |
| 1040 |
for {set base 3} {$base <= 11} {incr base} { |
| 1041 |
set sb [expr {$base ** 8}] |
| 1042 |
set sbm $sb |
| 1043 |
for {set expt 9} {$expt <= 21} {incr expt} { |
| 1044 |
set sb [expr {$sb * $base}] |
| 1045 |
set sbm [expr {$sbm * -$base}] |
| 1046 |
set is [expr {$base ** $expt}] |
| 1047 |
set ism [expr {-$base ** $expt}] |
| 1048 |
if {$sb != $is} { |
| 1049 |
append trouble \n $base ** $expt " is " $is " should be " $sb |
| 1050 |
} |
| 1051 |
if {$sbm != $ism} { |
| 1052 |
append trouble \n - $base ** $expt " is " $ism \ |
| 1053 |
" should be " $sbm |
| 1054 |
} |
| 1055 |
} |
| 1056 |
} |
| 1057 |
set trouble |
| 1058 |
} {test intermediate powers of 32-bit ints} |
| 1059 |
test expr-23.52 {INST_EXPON: small integer powers with 64-bit results} { |
| 1060 |
set trouble {test small int powers with 64-bit results} |
| 1061 |
for {set exp 2} {$exp <= 16} {incr exp} { |
| 1062 |
set base [expr {entier(pow(double(0x7fffffffffffffff),(1.0/$exp)))}] |
| 1063 |
set sb 1 |
| 1064 |
set sbm 1 |
| 1065 |
for {set i 0} {$i < $exp} {incr i} { |
| 1066 |
set sb [expr {$sb * $base}] |
| 1067 |
set sbm [expr {$sbm * -$base}] |
| 1068 |
} |
| 1069 |
set is [expr {$base ** $exp}] |
| 1070 |
set ism [expr {-$base ** $exp}] |
| 1071 |
if {$sb != $is} { |
| 1072 |
append trouble \n $base ** $exp " is " $is " should be " $sb |
| 1073 |
} |
| 1074 |
if {$sbm != $ism} { |
| 1075 |
append trouble \n - $base ** $exp " is " $ism " should be " $sbm |
| 1076 |
} |
| 1077 |
incr base |
| 1078 |
set sb 1 |
| 1079 |
set sbm 1 |
| 1080 |
for {set i 0} {$i < $exp} {incr i} { |
| 1081 |
set sb [expr {$sb * $base}] |
| 1082 |
set sbm [expr {$sbm * -$base}] |
| 1083 |
} |
| 1084 |
set is [expr {$base ** $exp}] |
| 1085 |
set ism [expr {-$base ** $exp}] |
| 1086 |
if {$sb != $is} { |
| 1087 |
append trouble \n $base ** $exp " is " $is " should be " $sb |
| 1088 |
} |
| 1089 |
if {$sbm != $ism} { |
| 1090 |
append trouble \n - $base ** $exp " is " $ism " should be " $sbm |
| 1091 |
} |
| 1092 |
} |
| 1093 |
set trouble |
| 1094 |
} {test small int powers with 64-bit results} |
| 1095 |
test expr-23.53 {INST_EXPON: intermediate powers of 64-bit integers} { |
| 1096 |
set trouble {test intermediate powers of 64-bit ints} |
| 1097 |
for {set base 3} {$base <= 13} {incr base} { |
| 1098 |
set sb [expr {$base ** 15}] |
| 1099 |
set sbm [expr {-$sb}] |
| 1100 |
for {set expt 16} {$expt <= 39} {incr expt} { |
| 1101 |
set sb [expr {$sb * $base}] |
| 1102 |
set sbm [expr {$sbm * -$base}] |
| 1103 |
set is [expr {$base ** $expt}] |
| 1104 |
set ism [expr {-$base ** $expt}] |
| 1105 |
if {$sb != $is} { |
| 1106 |
append trouble \n $base ** $expt " is " $is " should be " $sb |
| 1107 |
} |
| 1108 |
if {$sbm != $ism} { |
| 1109 |
append trouble \n - $base ** $expt " is " $ism \ |
| 1110 |
" should be " $sbm |
| 1111 |
} |
| 1112 |
} |
| 1113 |
} |
| 1114 |
set trouble |
| 1115 |
} {test intermediate powers of 64-bit ints} |
| 1116 |
test expr-23.54.0 {INST_EXPON: Bug 2798543} { |
| 1117 |
expr {3**9 == 3**65545} |
| 1118 |
} 0 |
| 1119 |
test expr-23.54.1 {INST_EXPON: Bug 2798543} { |
| 1120 |
expr {3**10 == 3**65546} |
| 1121 |
} 0 |
| 1122 |
test expr-23.54.2 {INST_EXPON: Bug 2798543} { |
| 1123 |
expr {3**11 == 3**65547} |
| 1124 |
} 0 |
| 1125 |
test expr-23.54.3 {INST_EXPON: Bug 2798543} { |
| 1126 |
expr {3**12 == 3**65548} |
| 1127 |
} 0 |
| 1128 |
test expr-23.54.4 {INST_EXPON: Bug 2798543} { |
| 1129 |
expr {3**13 == 3**65549} |
| 1130 |
} 0 |
| 1131 |
test expr-23.54.5 {INST_EXPON: Bug 2798543} { |
| 1132 |
expr {3**14 == 3**65550} |
| 1133 |
} 0 |
| 1134 |
test expr-23.54.6 {INST_EXPON: Bug 2798543} { |
| 1135 |
expr {3**15 == 3**65551} |
| 1136 |
} 0 |
| 1137 |
test expr-23.54.7 {INST_EXPON: Bug 2798543} { |
| 1138 |
expr {3**16 == 3**65552} |
| 1139 |
} 0 |
| 1140 |
test expr-23.54.8 {INST_EXPON: Bug 2798543} { |
| 1141 |
expr {3**17 == 3**65553} |
| 1142 |
} 0 |
| 1143 |
test expr-23.54.9 {INST_EXPON: Bug 2798543} { |
| 1144 |
expr {3**18 == 3**65554} |
| 1145 |
} 0 |
| 1146 |
test expr-23.54.10 {INST_EXPON: Bug 2798543} { |
| 1147 |
expr {3**19 == 3**65555} |
| 1148 |
} 0 |
| 1149 |
test expr-23.54.11 {INST_EXPON: Bug 2798543} { |
| 1150 |
expr {3**9 == 3**131081} |
| 1151 |
} 0 |
| 1152 |
test expr-23.54.12 {INST_EXPON: Bug 2798543} -body { |
| 1153 |
expr {3**268435456} |
| 1154 |
} -returnCodes error -result {exponent too large} |
| 1155 |
test expr-23.54.13 {INST_EXPON: Bug 2798543} { |
| 1156 |
expr {(-3)**9 == (-3)**65545} |
| 1157 |
} 0 |
| 1158 |
test expr-23.55.0 {INST_EXPON: Bug 2798543} { |
| 1159 |
expr {4**9 == 4**65545} |
| 1160 |
} 0 |
| 1161 |
test expr-23.55.1 {INST_EXPON: Bug 2798543} { |
| 1162 |
expr {4**15 == 4**65551} |
| 1163 |
} 0 |
| 1164 |
test expr-23.55.2 {INST_EXPON: Bug 2798543} { |
| 1165 |
expr {4**9 == 4**131081} |
| 1166 |
} 0 |
| 1167 |
test expr-23.55.3 {INST_EXPON: Bug 2798543} -body { |
| 1168 |
expr {4**268435456} |
| 1169 |
} -returnCodes error -result {exponent too large} |
| 1170 |
test expr-23.55.4 {INST_EXPON: Bug 2798543} { |
| 1171 |
expr {(-4)**9 == (-4)**65545} |
| 1172 |
} 0 |
| 1173 |
test expr-23.56.0 {INST_EXPON: Bug 2798543} { |
| 1174 |
expr {5**9 == 5**65545} |
| 1175 |
} 0 |
| 1176 |
test expr-23.56.1 {INST_EXPON: Bug 2798543} { |
| 1177 |
expr {5**13 == 5**65549} |
| 1178 |
} 0 |
| 1179 |
test expr-23.56.2 {INST_EXPON: Bug 2798543} { |
| 1180 |
expr {5**9 == 5**131081} |
| 1181 |
} 0 |
| 1182 |
test expr-23.56.3 {INST_EXPON: Bug 2798543} -body { |
| 1183 |
expr {5**268435456} |
| 1184 |
} -returnCodes error -result {exponent too large} |
| 1185 |
test expr-23.56.4 {INST_EXPON: Bug 2798543} { |
| 1186 |
expr {(-5)**9 == (-5)**65545} |
| 1187 |
} 0 |
| 1188 |
test expr-23.57.0 {INST_EXPON: Bug 2798543} { |
| 1189 |
expr {6**9 == 6**65545} |
| 1190 |
} 0 |
| 1191 |
test expr-23.57.1 {INST_EXPON: Bug 2798543} { |
| 1192 |
expr {6**11 == 6**65547} |
| 1193 |
} 0 |
| 1194 |
test expr-23.57.2 {INST_EXPON: Bug 2798543} { |
| 1195 |
expr {6**9 == 6**131081} |
| 1196 |
} 0 |
| 1197 |
test expr-23.57.3 {INST_EXPON: Bug 2798543} -body { |
| 1198 |
expr {6**268435456} |
| 1199 |
} -returnCodes error -result {exponent too large} |
| 1200 |
test expr-23.57.4 {INST_EXPON: Bug 2798543} { |
| 1201 |
expr {(-6)**9 == (-6)**65545} |
| 1202 |
} 0 |
| 1203 |
test expr-23.58.0 {INST_EXPON: Bug 2798543} { |
| 1204 |
expr {7**9 == 7**65545} |
| 1205 |
} 0 |
| 1206 |
test expr-23.58.1 {INST_EXPON: Bug 2798543} { |
| 1207 |
expr {7**11 == 7**65547} |
| 1208 |
} 0 |
| 1209 |
test expr-23.58.2 {INST_EXPON: Bug 2798543} { |
| 1210 |
expr {7**9 == 7**131081} |
| 1211 |
} 0 |
| 1212 |
test expr-23.58.3 {INST_EXPON: Bug 2798543} -body { |
| 1213 |
expr {7**268435456} |
| 1214 |
} -returnCodes error -result {exponent too large} |
| 1215 |
test expr-23.58.4 {INST_EXPON: Bug 2798543} { |
| 1216 |
expr {(-7)**9 == (-7)**65545} |
| 1217 |
} 0 |
| 1218 |
test expr-23.59.0 {INST_EXPON: Bug 2798543} { |
| 1219 |
expr {8**9 == 8**65545} |
| 1220 |
} 0 |
| 1221 |
test expr-23.59.1 {INST_EXPON: Bug 2798543} { |
| 1222 |
expr {8**10 == 8**65546} |
| 1223 |
} 0 |
| 1224 |
test expr-23.59.2 {INST_EXPON: Bug 2798543} { |
| 1225 |
expr {8**9 == 8**131081} |
| 1226 |
} 0 |
| 1227 |
test expr-23.59.3 {INST_EXPON: Bug 2798543} -body { |
| 1228 |
expr {8**268435456} |
| 1229 |
} -returnCodes error -result {exponent too large} |
| 1230 |
test expr-23.59.4 {INST_EXPON: Bug 2798543} { |
| 1231 |
expr {(-8)**9 == (-8)**65545} |
| 1232 |
} 0 |
| 1233 |
test expr-23.60.0 {INST_EXPON: Bug 2798543} { |
| 1234 |
expr {9**9 == 9**65545} |
| 1235 |
} 0 |
| 1236 |
test expr-23.60.1 {INST_EXPON: Bug 2798543} { |
| 1237 |
expr {9**9 == 9**131081} |
| 1238 |
} 0 |
| 1239 |
test expr-23.60.2 {INST_EXPON: Bug 2798543} -body { |
| 1240 |
expr {9**268435456} |
| 1241 |
} -returnCodes error -result {exponent too large} |
| 1242 |
test expr-23.60.3 {INST_EXPON: Bug 2798543} { |
| 1243 |
expr {(-9)**9 == (-9)**65545} |
| 1244 |
} 0 |
| 1245 |
test expr-23.61.0 {INST_EXPON: Bug 2798543} { |
| 1246 |
expr {10**9 == 10**65545} |
| 1247 |
} 0 |
| 1248 |
test expr-23.61.1 {INST_EXPON: Bug 2798543} { |
| 1249 |
expr {10**9 == 10**131081} |
| 1250 |
} 0 |
| 1251 |
test expr-23.61.2 {INST_EXPON: Bug 2798543} -body { |
| 1252 |
expr {10**268435456} |
| 1253 |
} -returnCodes error -result {exponent too large} |
| 1254 |
test expr-23.61.3 {INST_EXPON: Bug 2798543} { |
| 1255 |
expr {(-10)**9 == (-10)**65545} |
| 1256 |
} 0 |
| 1257 |
test expr-23.62.0 {INST_EXPON: Bug 2798543} { |
| 1258 |
expr {11**9 == 11**65545} |
| 1259 |
} 0 |
| 1260 |
test expr-23.62.1 {INST_EXPON: Bug 2798543} { |
| 1261 |
expr {11**9 == 11**131081} |
| 1262 |
} 0 |
| 1263 |
test expr-23.62.2 {INST_EXPON: Bug 2798543} -body { |
| 1264 |
expr {11**268435456} |
| 1265 |
} -returnCodes error -result {exponent too large} |
| 1266 |
test expr-23.62.3 {INST_EXPON: Bug 2798543} { |
| 1267 |
expr {(-11)**9 == (-11)**65545} |
| 1268 |
} 0 |
| 1269 |
test expr-23.63.0 {INST_EXPON: Bug 2798543} { |
| 1270 |
expr {3**20 == 3**65556} |
| 1271 |
} 0 |
| 1272 |
test expr-23.63.1 {INST_EXPON: Bug 2798543} { |
| 1273 |
expr {3**39 == 3**65575} |
| 1274 |
} 0 |
| 1275 |
test expr-23.63.2 {INST_EXPON: Bug 2798543} { |
| 1276 |
expr {3**20 == 3**131092} |
| 1277 |
} 0 |
| 1278 |
test expr-23.63.3 {INST_EXPON: Bug 2798543} -body { |
| 1279 |
expr {3**268435456} |
| 1280 |
} -returnCodes error -result {exponent too large} |
| 1281 |
test expr-23.63.4 {INST_EXPON: Bug 2798543} { |
| 1282 |
expr {(-3)**20 == (-3)**65556} |
| 1283 |
} 0 |
| 1284 |
test expr-23.64.0 {INST_EXPON: Bug 2798543} { |
| 1285 |
expr {4**17 == 4**65553} |
| 1286 |
} 0 |
| 1287 |
test expr-23.64.1 {INST_EXPON: Bug 2798543} { |
| 1288 |
expr {4**31 == 4**65567} |
| 1289 |
} 0 |
| 1290 |
test expr-23.64.2 {INST_EXPON: Bug 2798543} { |
| 1291 |
expr {4**17 == 4**131089} |
| 1292 |
} 0 |
| 1293 |
test expr-23.64.3 {INST_EXPON: Bug 2798543} -body { |
| 1294 |
expr {4**268435456} |
| 1295 |
} -returnCodes error -result {exponent too large} |
| 1296 |
test expr-23.64.4 {INST_EXPON: Bug 2798543} { |
| 1297 |
expr {(-4)**17 == (-4)**65553} |
| 1298 |
} 0 |
| 1299 |
test expr-23.65.0 {INST_EXPON: Bug 2798543} { |
| 1300 |
expr {5**17 == 5**65553} |
| 1301 |
} 0 |
| 1302 |
test expr-23.65.1 {INST_EXPON: Bug 2798543} { |
| 1303 |
expr {5**27 == 5**65563} |
| 1304 |
} 0 |
| 1305 |
test expr-23.65.2 {INST_EXPON: Bug 2798543} { |
| 1306 |
expr {5**17 == 5**131089} |
| 1307 |
} 0 |
| 1308 |
test expr-23.65.3 {INST_EXPON: Bug 2798543} -body { |
| 1309 |
expr {5**268435456} |
| 1310 |
} -returnCodes error -result {exponent too large} |
| 1311 |
test expr-23.65.4 {INST_EXPON: Bug 2798543} { |
| 1312 |
expr {(-5)**17 == (-5)**65553} |
| 1313 |
} 0 |
| 1314 |
test expr-23.66.0 {INST_EXPON: Bug 2798543} { |
| 1315 |
expr {6**17 == 6**65553} |
| 1316 |
} 0 |
| 1317 |
test expr-23.66.1 {INST_EXPON: Bug 2798543} { |
| 1318 |
expr {6**24 == 6**65560} |
| 1319 |
} 0 |
| 1320 |
test expr-23.66.2 {INST_EXPON: Bug 2798543} { |
| 1321 |
expr {6**17 == 6**131089} |
| 1322 |
} 0 |
| 1323 |
test expr-23.66.3 {INST_EXPON: Bug 2798543} -body { |
| 1324 |
expr {6**268435456} |
| 1325 |
} -returnCodes error -result {exponent too large} |
| 1326 |
test expr-23.66.4 {INST_EXPON: Bug 2798543} { |
| 1327 |
expr {(-6)**17 == (-6)**65553} |
| 1328 |
} 0 |
| 1329 |
test expr-23.67.0 {INST_EXPON: Bug 2798543} { |
| 1330 |
expr {7**17 == 7**65553} |
| 1331 |
} 0 |
| 1332 |
test expr-23.67.1 {INST_EXPON: Bug 2798543} { |
| 1333 |
expr {7**22 == 7**65558} |
| 1334 |
} 0 |
| 1335 |
test expr-23.67.2 {INST_EXPON: Bug 2798543} { |
| 1336 |
expr {7**17 == 7**131089} |
| 1337 |
} 0 |
| 1338 |
test expr-23.67.3 {INST_EXPON: Bug 2798543} -body { |
| 1339 |
expr {7**268435456} |
| 1340 |
} -returnCodes error -result {exponent too large} |
| 1341 |
test expr-23.67.4 {INST_EXPON: Bug 2798543} { |
| 1342 |
expr {(-7)**17 == (-7)**65553} |
| 1343 |
} 0 |
| 1344 |
test expr-23.68.0 {INST_EXPON: Bug 2798543} { |
| 1345 |
expr {8**17 == 8**65553} |
| 1346 |
} 0 |
| 1347 |
test expr-23.68.1 {INST_EXPON: Bug 2798543} { |
| 1348 |
expr {8**20 == 8**65556} |
| 1349 |
} 0 |
| 1350 |
test expr-23.68.2 {INST_EXPON: Bug 2798543} { |
| 1351 |
expr {8**17 == 8**131089} |
| 1352 |
} 0 |
| 1353 |
test expr-23.68.3 {INST_EXPON: Bug 2798543} -body { |
| 1354 |
expr {8**268435456} |
| 1355 |
} -returnCodes error -result {exponent too large} |
| 1356 |
test expr-23.68.4 {INST_EXPON: Bug 2798543} { |
| 1357 |
expr {(-8)**17 == (-8)**65553} |
| 1358 |
} 0 |
| 1359 |
test expr-23.69.0 {INST_EXPON: Bug 2798543} { |
| 1360 |
expr {9**17 == 9**65553} |
| 1361 |
} 0 |
| 1362 |
test expr-23.69.1 {INST_EXPON: Bug 2798543} { |
| 1363 |
expr {9**19 == 9**65555} |
| 1364 |
} 0 |
| 1365 |
test expr-23.69.2 {INST_EXPON: Bug 2798543} { |
| 1366 |
expr {9**17 == 9**131089} |
| 1367 |
} 0 |
| 1368 |
test expr-23.69.3 {INST_EXPON: Bug 2798543} -body { |
| 1369 |
expr {9**268435456} |
| 1370 |
} -returnCodes error -result {exponent too large} |
| 1371 |
test expr-23.69.4 {INST_EXPON: Bug 2798543} { |
| 1372 |
expr {(-9)**17 == (-9)**65553} |
| 1373 |
} 0 |
| 1374 |
test expr-23.70.0 {INST_EXPON: Bug 2798543} { |
| 1375 |
expr {10**17 == 10**65553} |
| 1376 |
} 0 |
| 1377 |
test expr-23.70.1 {INST_EXPON: Bug 2798543} { |
| 1378 |
expr {10**18 == 10**65554} |
| 1379 |
} 0 |
| 1380 |
test expr-23.70.2 {INST_EXPON: Bug 2798543} { |
| 1381 |
expr {10**17 == 10**131089} |
| 1382 |
} 0 |
| 1383 |
test expr-23.70.3 {INST_EXPON: Bug 2798543} -body { |
| 1384 |
expr {10**268435456} |
| 1385 |
} -returnCodes error -result {exponent too large} |
| 1386 |
test expr-23.70.4 {INST_EXPON: Bug 2798543} { |
| 1387 |
expr {(-10)**17 == (-10)**65553} |
| 1388 |
} 0 |
| 1389 |
test expr-23.71.0 {INST_EXPON: Bug 2798543} { |
| 1390 |
expr {11**17 == 11**65553} |
| 1391 |
} 0 |
| 1392 |
test expr-23.71.1 {INST_EXPON: Bug 2798543} { |
| 1393 |
expr {11**18 == 11**65554} |
| 1394 |
} 0 |
| 1395 |
test expr-23.71.2 {INST_EXPON: Bug 2798543} { |
| 1396 |
expr {11**17 == 11**131089} |
| 1397 |
} 0 |
| 1398 |
test expr-23.71.3 {INST_EXPON: Bug 2798543} -body { |
| 1399 |
expr {11**268435456} |
| 1400 |
} -returnCodes error -result {exponent too large} |
| 1401 |
test expr-23.71.4 {INST_EXPON: Bug 2798543} { |
| 1402 |
expr {(-11)**17 == (-11)**65553} |
| 1403 |
} 0 |
| 1404 |
test expr-23.72.0 {INST_EXPON: Bug 2798543} { |
| 1405 |
expr {12**17 == 12**65553} |
| 1406 |
} 0 |
| 1407 |
test expr-23.72.1 {INST_EXPON: Bug 2798543} { |
| 1408 |
expr {12**17 == 12**131089} |
| 1409 |
} 0 |
| 1410 |
test expr-23.72.2 {INST_EXPON: Bug 2798543} -body { |
| 1411 |
expr {12**268435456} |
| 1412 |
} -returnCodes error -result {exponent too large} |
| 1413 |
test expr-23.72.3 {INST_EXPON: Bug 2798543} { |
| 1414 |
expr {(-12)**17 == (-12)**65553} |
| 1415 |
} 0 |
| 1416 |
test expr-23.73.0 {INST_EXPON: Bug 2798543} { |
| 1417 |
expr {13**17 == 13**65553} |
| 1418 |
} 0 |
| 1419 |
test expr-23.73.1 {INST_EXPON: Bug 2798543} { |
| 1420 |
expr {13**17 == 13**131089} |
| 1421 |
} 0 |
| 1422 |
test expr-23.73.2 {INST_EXPON: Bug 2798543} -body { |
| 1423 |
expr {13**268435456} |
| 1424 |
} -returnCodes error -result {exponent too large} |
| 1425 |
test expr-23.73.3 {INST_EXPON: Bug 2798543} { |
| 1426 |
expr {(-13)**17 == (-13)**65553} |
| 1427 |
} 0 |
| 1428 |
test expr-23.74.0 {INST_EXPON: Bug 2798543} { |
| 1429 |
expr {14**17 == 14**65553} |
| 1430 |
} 0 |
| 1431 |
test expr-23.74.1 {INST_EXPON: Bug 2798543} { |
| 1432 |
expr {14**17 == 14**131089} |
| 1433 |
} 0 |
| 1434 |
test expr-23.74.2 {INST_EXPON: Bug 2798543} -body { |
| 1435 |
expr {14**268435456} |
| 1436 |
} -returnCodes error -result {exponent too large} |
| 1437 |
test expr-23.74.3 {INST_EXPON: Bug 2798543} { |
| 1438 |
expr {(-14)**17 == (-14)**65553} |
| 1439 |
} 0 |
| 1440 |
|
| 1441 |
|
| 1442 |
# Some compilers get this wrong; ensure that we work around it correctly |
| 1443 |
test expr-24.1 {expr edge cases; shifting} {expr int(5)>>32} 0 |
| 1444 |
test expr-24.2 {expr edge cases; shifting} {expr int(5)>>63} 0 |
| 1445 |
test expr-24.3 {expr edge cases; shifting} {expr wide(5)>>32} 0 |
| 1446 |
test expr-24.4 {expr edge cases; shifting} {expr wide(5)>>63} 0 |
| 1447 |
test expr-24.5 {expr edge cases; shifting} longIs32bit {expr int(5<<32)} 0 |
| 1448 |
test expr-24.6 {expr edge cases; shifting} longIs32bit {expr int(5<<63)} 0 |
| 1449 |
test expr-24.7 {expr edge cases; shifting} {expr wide(5)<<32} 21474836480 |
| 1450 |
test expr-24.8 {expr edge cases; shifting} {expr wide(10<<63)} 0 |
| 1451 |
test expr-24.9 {expr edge cases; shifting} {expr 5>>32} 0 |
| 1452 |
|
| 1453 |
test expr-24.10 {INST_LSHIFT: Bug 1567222} {expr 500000000000000<<28} 134217728000000000000000 |
| 1454 |
test expr-24.11 {INST_LSHIFT: Bug 84a5355235} {expr -549755813888>>32} -128 |
| 1455 |
|
| 1456 |
# List membership tests |
| 1457 |
test expr-25.1 {'in' operator} {expr {"a" in "a b c"}} 1 |
| 1458 |
test expr-25.2 {'in' operator} {expr {"a" in "b a c"}} 1 |
| 1459 |
test expr-25.3 {'in' operator} {expr {"a" in "b c a"}} 1 |
| 1460 |
test expr-25.4 {'in' operator} {expr {"a" in ""}} 0 |
| 1461 |
test expr-25.5 {'in' operator} {expr {"" in {a b c ""}}} 1 |
| 1462 |
test expr-25.6 {'in' operator} {expr {"" in "a b c"}} 0 |
| 1463 |
test expr-25.7 {'in' operator} {expr {"" in ""}} 0 |
| 1464 |
|
| 1465 |
test expr-26.1 {'ni' operator} {expr {"a" ni "a b c"}} 0 |
| 1466 |
test expr-26.2 {'ni' operator} {expr {"a" ni "b a c"}} 0 |
| 1467 |
test expr-26.3 {'ni' operator} {expr {"a" ni "b c a"}} 0 |
| 1468 |
test expr-26.4 {'ni' operator} {expr {"a" ni ""}} 1 |
| 1469 |
test expr-26.5 {'ni' operator} {expr {"" ni {a b c ""}}} 0 |
| 1470 |
test expr-26.6 {'ni' operator} {expr {"" ni "a b c"}} 1 |
| 1471 |
test expr-26.7 {'ni' operator} {expr {"" ni ""}} 1 |
| 1472 |
|
| 1473 |
foreach op {< <= == != > >=} { |
| 1474 |
proc test$op {a b} [list expr "\$a $op \$b"] |
| 1475 |
} |
| 1476 |
|
| 1477 |
test expr-27.1 {expr - correct ordering - not compiled} ieeeFloatingPoint { |
| 1478 |
set problems {} |
| 1479 |
# Ordering should be: -Infinity < -Normal < Subnormal < -0 |
| 1480 |
# < +0 < +Subnormal < +Normal < +Infinity |
| 1481 |
# with equality within each class. |
| 1482 |
set names { |
| 1483 |
-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity |
| 1484 |
} |
| 1485 |
set weights { |
| 1486 |
-3 -2 -1 0 0 1 2 3 |
| 1487 |
} |
| 1488 |
foreach name1 $names weight1 $weights { |
| 1489 |
foreach name2 $names weight2 $weights { |
| 1490 |
foreach op {< <= == != >= >} { |
| 1491 |
set shouldBe [expr "$weight1 $op $weight2"] |
| 1492 |
set is [expr "\$ieeeValues($name1) $op \$ieeeValues($name2)"] |
| 1493 |
if { $is != $shouldBe } { |
| 1494 |
append problems $name1 { } $op { } $name2 \ |
| 1495 |
":result is " $is ", should be $shouldBe" \n |
| 1496 |
} |
| 1497 |
} |
| 1498 |
} |
| 1499 |
} |
| 1500 |
set problems |
| 1501 |
} {} |
| 1502 |
test expr-27.2 {expr - correct ordering - compiled} ieeeFloatingPoint { |
| 1503 |
set problems {} |
| 1504 |
# Ordering should be: -Infinity < -Normal < Subnormal < -0 |
| 1505 |
# < +0 < +Subnormal < +Normal < +Infinity |
| 1506 |
# with equality within each class. |
| 1507 |
set names { |
| 1508 |
-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity |
| 1509 |
} |
| 1510 |
set weights { |
| 1511 |
-3 -2 -1 0 0 1 2 3 |
| 1512 |
} |
| 1513 |
foreach name1 $names weight1 $weights { |
| 1514 |
foreach name2 $names weight2 $weights { |
| 1515 |
foreach op {< <= == != >= >} { |
| 1516 |
set shouldBe [expr "$weight1 $op $weight2"] |
| 1517 |
set is [test$op $ieeeValues($name1) $ieeeValues($name2)] |
| 1518 |
if { $is != $shouldBe } { |
| 1519 |
append problems $name1 { } $op { } $name2 \ |
| 1520 |
":result is " $is ", should be $shouldBe" \n |
| 1521 |
} |
| 1522 |
} |
| 1523 |
} |
| 1524 |
} |
| 1525 |
set problems |
| 1526 |
} {} |
| 1527 |
test expr-27.3 {expr - NaN is unordered - not compiled} { |
| 1528 |
set problems {} |
| 1529 |
set names { |
| 1530 |
-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity NaN |
| 1531 |
} |
| 1532 |
foreach name1 $names { |
| 1533 |
foreach op {< <= == != >= >} sb {0 0 0 1 0 0} { |
| 1534 |
if "(\$ieeeValues($name1) $op \$ieeeValues(NaN)) != $sb " { |
| 1535 |
append problems $name1 { } $op { } NaN \ |
| 1536 |
": result is 1, should be $sb" \n |
| 1537 |
} |
| 1538 |
if "(\$ieeeValues(NaN) $op \$ieeeValues($name1)) != $sb" { |
| 1539 |
append problems NaN { } $op { } $name1 \ |
| 1540 |
": result is 1, should be $sb" \n |
| 1541 |
} |
| 1542 |
} |
| 1543 |
} |
| 1544 |
set problems |
| 1545 |
} {} |
| 1546 |
test expr-27.4 {expr - NaN is unordered - compiled} { |
| 1547 |
set problems {} |
| 1548 |
set names { |
| 1549 |
-Infinity -Normal -Subnormal -0 +0 +Subnormal +Normal +Infinity NaN |
| 1550 |
} |
| 1551 |
foreach name1 $names { |
| 1552 |
foreach op {< <= == != >= >} sb {0 0 0 1 0 0} { |
| 1553 |
if { [test$op $ieeeValues($name1) $ieeeValues(NaN)] != $sb } { |
| 1554 |
append problems $ieeeValues($name1) { } $op { } $ieeeValues(NaN) \ |
| 1555 |
": result is 1, should be $sb" \n |
| 1556 |
} |
| 1557 |
if { [test$op $ieeeValues(NaN) $ieeeValues($name1)] != $sb } { |
| 1558 |
append problems NaN { } $op { } $ieeeValues($name1) \ |
| 1559 |
": result is 1, should be $sb" \n |
| 1560 |
} |
| 1561 |
} |
| 1562 |
} |
| 1563 |
set problems |
| 1564 |
} {} |
| 1565 |
|
| 1566 |
proc convertToDouble { x } { |
| 1567 |
variable ieeeValues |
| 1568 |
binary scan [binary format d $x] c* bytes |
| 1569 |
set result 0x |
| 1570 |
if { $ieeeValues(littleEndian) } { |
| 1571 |
for { set i 7 } { $i >= 0 } { incr i -1 } { |
| 1572 |
append result [format %02x [expr { [lindex $bytes $i] & 0xff }]] |
| 1573 |
} |
| 1574 |
} else { |
| 1575 |
foreach byte $bytes { |
| 1576 |
append result [format %02x [expr { $byte & 0xff }]] |
| 1577 |
} |
| 1578 |
} |
| 1579 |
return $result |
| 1580 |
} |
| 1581 |
|
| 1582 |
test expr-28.1 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1583 |
# Ad2b d ALL 0 E0 OK 00000000000000 E-1023 |
| 1584 |
convertToDouble 0E0 |
| 1585 |
} 0x0000000000000000 |
| 1586 |
test expr-28.2 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1587 |
# Ad2b d ALL -0 E0 OK -0000000000000 E-1023 |
| 1588 |
convertToDouble -0E0 |
| 1589 |
} 0x8000000000000000 |
| 1590 |
test expr-28.3 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1591 |
# Ad2b d ALL 1 E0 OK 10000000000000 E0 |
| 1592 |
convertToDouble 1E0 |
| 1593 |
} 0x3ff0000000000000 |
| 1594 |
test expr-28.4 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1595 |
# Ad2b d ALL 15 E-1 OK 18000000000000 E0 |
| 1596 |
convertToDouble 15E-1 |
| 1597 |
} 0x3ff8000000000000 |
| 1598 |
test expr-28.5 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1599 |
# Ad2b d ALL 125 E-2 OK 14000000000000 E0 |
| 1600 |
convertToDouble 125E-2 |
| 1601 |
} 0x3ff4000000000000 |
| 1602 |
test expr-28.6 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1603 |
# Ad2b d ALL 1125 E-3 OK 12000000000000 E0 |
| 1604 |
convertToDouble 1125E-3 |
| 1605 |
} 0x3ff2000000000000 |
| 1606 |
test expr-28.7 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1607 |
# Ad2b d ALL 10625 E-4 OK 11000000000000 E0 |
| 1608 |
convertToDouble 10625E-4 |
| 1609 |
} 0x3ff1000000000000 |
| 1610 |
test expr-28.8 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1611 |
# Ad2b d ALL 103125 E-5 OK 10800000000000 E0 |
| 1612 |
convertToDouble 103125E-5 |
| 1613 |
} 0x3ff0800000000000 |
| 1614 |
test expr-28.9 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1615 |
# Ad2b d ALL 1015625 E-6 OK 10400000000000 E0 |
| 1616 |
convertToDouble 1015625E-6 |
| 1617 |
} 0x3ff0400000000000 |
| 1618 |
test expr-28.10 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1619 |
# Ad2b d ALL 10078125 E-7 OK 10200000000000 E0 |
| 1620 |
convertToDouble 10078125E-7 |
| 1621 |
} 0x3ff0200000000000 |
| 1622 |
test expr-28.11 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1623 |
# Ad2b d ALL 100390625 E-8 OK 10100000000000 E0 |
| 1624 |
convertToDouble 100390625E-8 |
| 1625 |
} 0x3ff0100000000000 |
| 1626 |
test expr-28.12 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1627 |
# Ad2b dieee ALL 1001953125 E-9 OK 10080000000000 E0 |
| 1628 |
convertToDouble 1001953125E-9 |
| 1629 |
} 0x3ff0080000000000 |
| 1630 |
test expr-28.13 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1631 |
# Ad2b dieee ALL 10009765625 E-10 OK 10040000000000 E0 |
| 1632 |
convertToDouble 10009765625E-10 |
| 1633 |
} 0x3ff0040000000000 |
| 1634 |
test expr-28.14 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1635 |
# Ad2b dieee ALL 100048828125 E-11 OK 10020000000000 E0 |
| 1636 |
convertToDouble 100048828125E-11 |
| 1637 |
} 0x3ff0020000000000 |
| 1638 |
test expr-28.15 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1639 |
# Ad2b dieee ALL 1000244140625 E-12 OK 10010000000000 E0 |
| 1640 |
convertToDouble 1000244140625E-12 |
| 1641 |
} 0x3ff0010000000000 |
| 1642 |
test expr-28.16 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1643 |
# Ad2b dieee ALL 10001220703125 E-13 OK 10008000000000 E0 |
| 1644 |
convertToDouble 10001220703125E-13 |
| 1645 |
} 0x3ff0008000000000 |
| 1646 |
test expr-28.17 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1647 |
# Ad2b dieee ALL 100006103515625 E-14 OK 10004000000000 E0 |
| 1648 |
convertToDouble 100006103515625E-14 |
| 1649 |
} 0x3ff0004000000000 |
| 1650 |
test expr-28.18 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1651 |
# Ad2b dieee ALL 1000030517578125 E-15 OK 10002000000000 E0 |
| 1652 |
convertToDouble 1000030517578125E-15 |
| 1653 |
} 0x3ff0002000000000 |
| 1654 |
test expr-28.19 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1655 |
# Ad2b dieee ALL 10000152587890625 E-16 OK 10001000000000 E0 |
| 1656 |
convertToDouble 10000152587890625E-16 |
| 1657 |
} 0x3ff0001000000000 |
| 1658 |
test expr-28.20 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1659 |
# Ad2b d UN +8 E153 x 1317e5ef3ab327_0000000001& E511 |
| 1660 |
convertToDouble +8E153 |
| 1661 |
} 0x5fe317e5ef3ab327 |
| 1662 |
test expr-28.21 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1663 |
# Ad2b d UN -1 E153 x -1317e5ef3ab327_0000000001& E508 |
| 1664 |
convertToDouble -1E153 |
| 1665 |
} 0xdfb317e5ef3ab327 |
| 1666 |
test expr-28.22 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1667 |
# Ad2b d UN +9 E306 x 19a2028368022e_00000000001& E1019 |
| 1668 |
convertToDouble +9E306 |
| 1669 |
} 0x7fa9a2028368022e |
| 1670 |
test expr-28.23 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1671 |
# Ad2b d UN -2 E153 x -1317e5ef3ab327_0000000001& E509 |
| 1672 |
convertToDouble -2E153 |
| 1673 |
} 0xdfc317e5ef3ab327 |
| 1674 |
test expr-28.24 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1675 |
# Ad2b d UN +7 E-304 x 1eb8e84fa0b278_00000000001& E-1008 |
| 1676 |
convertToDouble +7E-304 |
| 1677 |
} 0x00feb8e84fa0b278 |
| 1678 |
test expr-28.25 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1679 |
# Ad2b d UN -3 E-49 x -1c0f92a6276c9d_000000001& E-162 |
| 1680 |
convertToDouble -3E-49 |
| 1681 |
} 0xb5dc0f92a6276c9d |
| 1682 |
test expr-28.26 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1683 |
# Ad2b d UN +7 E-303 x 13339131c46f8b_00000000001& E-1004 |
| 1684 |
convertToDouble +7E-303 |
| 1685 |
} 0x0133339131c46f8b |
| 1686 |
test expr-28.27 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1687 |
# Ad2b d UN -6 E-49 x -1c0f92a6276c9d_000000001& E-161 |
| 1688 |
convertToDouble -6E-49 |
| 1689 |
} 0xb5ec0f92a6276c9d |
| 1690 |
test expr-28.28 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1691 |
# Ad2b d UN +9 E43 x 102498ea6df0c3_11111111110& E146 |
| 1692 |
convertToDouble +9E43 |
| 1693 |
} 0x49102498ea6df0c4 |
| 1694 |
test expr-28.29 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1695 |
# Ad2b d UN -9 E44 x -142dbf25096cf4_1111111110& E149 |
| 1696 |
convertToDouble -9E44 |
| 1697 |
} 0xc9442dbf25096cf5 |
| 1698 |
test expr-28.30 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1699 |
# Ad2b d UN +8 E303 x 1754e31cd072d9_1111111110& E1009 |
| 1700 |
convertToDouble +8E303 |
| 1701 |
} 0x7f0754e31cd072da |
| 1702 |
test expr-28.31 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1703 |
# Ad2b d UN -1 E303 x -1754e31cd072d9_1111111110& E1006 |
| 1704 |
convertToDouble -1E303 |
| 1705 |
} 0xfed754e31cd072da |
| 1706 |
test expr-28.32 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1707 |
# Ad2b d UN +7 E-287 x 1551603777f798_111111110& E-951 |
| 1708 |
convertToDouble +7E-287 |
| 1709 |
} 0x048551603777f799 |
| 1710 |
test expr-28.33 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1711 |
# Ad2b d UN -2 E-204 x -1410d9f9b2f7f2_11111110& E-677 |
| 1712 |
convertToDouble -2E-204 |
| 1713 |
} 0x95a410d9f9b2f7f3 |
| 1714 |
test expr-28.34 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1715 |
# Ad2b d UN +2 E-205 x 100d7b2e28c65b_11111110& E-680 |
| 1716 |
convertToDouble +2E-205 |
| 1717 |
} 0x15700d7b2e28c65c |
| 1718 |
test expr-28.35 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1719 |
# Ad2b d UN -9 E-47 x -10711fed5b19a3_11111110& E-153 |
| 1720 |
convertToDouble -9E-47 |
| 1721 |
} 0xb660711fed5b19a4 |
| 1722 |
test expr-28.36 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1723 |
# Ad2b d UN +34 E195 x 1d1c26db7d0dae_000000000001& E652 |
| 1724 |
convertToDouble +34E195 |
| 1725 |
} 0x68bd1c26db7d0dae |
| 1726 |
test expr-28.37 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1727 |
# Ad2b d UN -68 E195 x -1d1c26db7d0dae_000000000001& E653 |
| 1728 |
convertToDouble -68E195 |
| 1729 |
} 0xe8cd1c26db7d0dae |
| 1730 |
test expr-28.38 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1731 |
# Ad2b d UN +85 E194 x 1d1c26db7d0dae_000000000001& E650 |
| 1732 |
convertToDouble +85E194 |
| 1733 |
} 0x689d1c26db7d0dae |
| 1734 |
test expr-28.39 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1735 |
# Ad2b d UN -67 E97 x -139ac1ce2cc95f_000000000001& E328 |
| 1736 |
convertToDouble -67E97 |
| 1737 |
} 0xd4739ac1ce2cc95f |
| 1738 |
test expr-28.40 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1739 |
# Ad2b d UN +93 E-234 x 127b2e4f210075_0000000000000001& E-771 |
| 1740 |
convertToDouble +93E-234 |
| 1741 |
} 0x0fc27b2e4f210075 |
| 1742 |
test expr-28.41 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1743 |
# Ad2b d UN -19 E-87 x -12e5f5dfa4fe9d_00000000000001& E-285 |
| 1744 |
convertToDouble -19E-87 |
| 1745 |
} 0xae22e5f5dfa4fe9d |
| 1746 |
test expr-28.42 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1747 |
# Ad2b d UN +38 E-87 x 12e5f5dfa4fe9d_00000000000001& E-284 |
| 1748 |
convertToDouble +38E-87 |
| 1749 |
} 0x2e32e5f5dfa4fe9d |
| 1750 |
test expr-28.43 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1751 |
# Ad2b d UN -38 E-88 x -1e3cbc9907fdc8_00000000000001& E-288 |
| 1752 |
convertToDouble -38E-88 |
| 1753 |
} 0xadfe3cbc9907fdc8 |
| 1754 |
test expr-28.44 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1755 |
# Ad2b d UN -69 E220 x -1e8aa8823a5db3_11111111110& E736 |
| 1756 |
convertToDouble -69E220 |
| 1757 |
} 0xedfe8aa8823a5db4 |
| 1758 |
test expr-28.45 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1759 |
# Ad2b d UN +18 E43 x 102498ea6df0c3_11111111110& E147 |
| 1760 |
convertToDouble +18E43 |
| 1761 |
} 0x49202498ea6df0c4 |
| 1762 |
test expr-28.46 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1763 |
# Ad2b d UN -36 E43 x -102498ea6df0c3_11111111110& E148 |
| 1764 |
convertToDouble -36E43 |
| 1765 |
} 0xc9302498ea6df0c4 |
| 1766 |
test expr-28.47 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1767 |
# Ad2b d UN +61 E-99 x 10ad836f269a16_11111111111110& E-323 |
| 1768 |
convertToDouble +61E-99 |
| 1769 |
} 0x2bc0ad836f269a17 |
| 1770 |
test expr-28.48 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1771 |
# Ad2b d UN -43 E-92 x -1c0794d9d40e95_111111111111110& E-301 |
| 1772 |
convertToDouble -43E-92 |
| 1773 |
} 0xad2c0794d9d40e96 |
| 1774 |
test expr-28.49 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1775 |
# Ad2b d UN +86 E-92 x 1c0794d9d40e95_111111111111110& E-300 |
| 1776 |
convertToDouble +86E-92 |
| 1777 |
} 0x2d3c0794d9d40e96 |
| 1778 |
test expr-28.50 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1779 |
# Ad2b d UN -51 E-74 x -1cd5bee57763e5_1111111111111110& E-241 |
| 1780 |
convertToDouble -51E-74 |
| 1781 |
} 0xb0ecd5bee57763e6 |
| 1782 |
test expr-28.51 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1783 |
# Ad2b d UN +283 E85 x 16c309024bab4b_00000000000000001& E290 |
| 1784 |
convertToDouble +283E85 |
| 1785 |
} 0x5216c309024bab4b |
| 1786 |
test expr-28.52 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1787 |
# Ad2b d UN -566 E85 x -16c309024bab4b_00000000000000001& E291 |
| 1788 |
convertToDouble -566E85 |
| 1789 |
} 0xd226c309024bab4b |
| 1790 |
test expr-28.53 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1791 |
# Ad2b d UN +589 E187 x 1526be9c22eb17_00000000000000001& E630 |
| 1792 |
convertToDouble +589E187 |
| 1793 |
} 0x675526be9c22eb17 |
| 1794 |
test expr-28.54 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1795 |
# Ad2b d UN -839 E143 x -1ae03f245703e2_000000000000001& E484 |
| 1796 |
convertToDouble -839E143 |
| 1797 |
} 0xde3ae03f245703e2 |
| 1798 |
test expr-28.55 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1799 |
# Ad2b d UN -744 E-234 x -127b2e4f210075_0000000000000001& E-768 |
| 1800 |
convertToDouble -744E-234 |
| 1801 |
} 0x8ff27b2e4f210075 |
| 1802 |
test expr-28.56 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1803 |
# Ad2b d UN +930 E-235 x 127b2e4f210075_0000000000000001& E-771 |
| 1804 |
convertToDouble +930E-235 |
| 1805 |
} 0x0fc27b2e4f210075 |
| 1806 |
test expr-28.57 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1807 |
# Ad2b d UN -186 E-234 x -127b2e4f210075_0000000000000001& E-770 |
| 1808 |
convertToDouble -186E-234 |
| 1809 |
} 0x8fd27b2e4f210075 |
| 1810 |
test expr-28.58 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1811 |
# Ad2b d UN +604 E175 x 17d93193f78fc5_1111111111111111110& E590 |
| 1812 |
convertToDouble +604E175 |
| 1813 |
} 0x64d7d93193f78fc6 |
| 1814 |
test expr-28.59 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1815 |
# Ad2b d UN -302 E175 x -17d93193f78fc5_1111111111111111110& E589 |
| 1816 |
convertToDouble -302E175 |
| 1817 |
} 0xe4c7d93193f78fc6 |
| 1818 |
test expr-28.60 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1819 |
# Ad2b d UN +755 E174 x 17d93193f78fc5_1111111111111111110& E587 |
| 1820 |
convertToDouble +755E174 |
| 1821 |
} 0x64a7d93193f78fc6 |
| 1822 |
test expr-28.61 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1823 |
# Ad2b d UN -151 E175 x -17d93193f78fc5_1111111111111111110& E588 |
| 1824 |
convertToDouble -151E175 |
| 1825 |
} 0xe4b7d93193f78fc6 |
| 1826 |
test expr-28.62 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1827 |
# Ad2b d UN +662 E-213 x 1bdb90e62a8cbc_1111111111111110& E-699 |
| 1828 |
convertToDouble +662E-213 |
| 1829 |
} 0x144bdb90e62a8cbd |
| 1830 |
test expr-28.63 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1831 |
# Ad2b d UN -408 E-74 x -1cd5bee57763e5_1111111111111110& E-238 |
| 1832 |
convertToDouble -408E-74 |
| 1833 |
} 0xb11cd5bee57763e6 |
| 1834 |
test expr-28.64 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1835 |
# Ad2b d UN +510 E-75 x 1cd5bee57763e5_1111111111111110& E-241 |
| 1836 |
convertToDouble +510E-75 |
| 1837 |
} 0x30ecd5bee57763e6 |
| 1838 |
test expr-28.65 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1839 |
# Ad2b d UN +6782 E55 x 159bd3ad46e346_0000000000000000001& E195 |
| 1840 |
convertToDouble +6782E55 |
| 1841 |
} 0x4c259bd3ad46e346 |
| 1842 |
test expr-28.66 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1843 |
# Ad2b d UN -2309 E92 x -1bac6f7d64d119_000000000000000001& E316 |
| 1844 |
convertToDouble -2309E92 |
| 1845 |
} 0xd3bbac6f7d64d119 |
| 1846 |
test expr-28.67 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1847 |
# Ad2b d UN +7963 E34 x 1df4170f0fdecc_00000000000000000001& E125 |
| 1848 |
convertToDouble +7963E34 |
| 1849 |
} 0x47cdf4170f0fdecc |
| 1850 |
test expr-28.68 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1851 |
# Ad2b d UN -3391 E55 x -159bd3ad46e346_0000000000000000001& E194 |
| 1852 |
convertToDouble -3391E55 |
| 1853 |
} 0xcc159bd3ad46e346 |
| 1854 |
test expr-28.69 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1855 |
# Ad2b d UN +7903 E-96 x 107c2d27a5b989_0000000000000000001& E-306 |
| 1856 |
convertToDouble +7903E-96 |
| 1857 |
} 0x2cd07c2d27a5b989 |
| 1858 |
test expr-28.70 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1859 |
# Ad2b d UN -7611 E-226 x -119b8744033457_0000000000000000001& E-738 |
| 1860 |
convertToDouble -7611E-226 |
| 1861 |
} 0x91d19b8744033457 |
| 1862 |
test expr-28.71 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1863 |
# Ad2b d UN +4907 E-196 x 11e90a8711440f_000000000000000001& E-639 |
| 1864 |
convertToDouble +4907E-196 |
| 1865 |
} 0x1801e90a8711440f |
| 1866 |
test expr-28.72 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1867 |
# Ad2b d UN -5547 E-311 x -13f190452a29f4_000000000000000001& E-1021 |
| 1868 |
convertToDouble -5547E-311 |
| 1869 |
} 0x8023f190452a29f4 |
| 1870 |
test expr-28.73 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1871 |
# Ad2b d UN +5311 E241 x 1f1ce3c887c25f_11111111111111111110& E812 |
| 1872 |
convertToDouble +5311E241 |
| 1873 |
} 0x72bf1ce3c887c260 |
| 1874 |
test expr-28.74 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1875 |
# Ad2b d UN -5311 E243 x -184e91f4aa0fda_11111111111111111110& E819 |
| 1876 |
convertToDouble -5311E243 |
| 1877 |
} 0xf3284e91f4aa0fdb |
| 1878 |
test expr-28.75 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1879 |
# Ad2b d UN +5311 E242 x 13720e5d54d97b_11111111111111111110& E816 |
| 1880 |
convertToDouble +5311E242 |
| 1881 |
} 0x72f3720e5d54d97c |
| 1882 |
test expr-28.76 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1883 |
# Ad2b d UN +9269 E-45 x 19d69455a53bd8_111111111111111111110& E-137 |
| 1884 |
convertToDouble +9269E-45 |
| 1885 |
} 0x3769d69455a53bd9 |
| 1886 |
test expr-28.77 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1887 |
# Ad2b d UN -8559 E-289 x -104a81d35952fe_11111111111111111110& E-947 |
| 1888 |
convertToDouble -8559E-289 |
| 1889 |
} 0x84c04a81d35952ff |
| 1890 |
test expr-28.78 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1891 |
# Ad2b d UN +8699 E-276 x 12d2df246ecd2c_1111111111111111111110& E-904 |
| 1892 |
convertToDouble +8699E-276 |
| 1893 |
} 0x0772d2df246ecd2d |
| 1894 |
test expr-28.79 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1895 |
# Ad2b d UN -8085 E-64 x -14c98fce16152d_1111111111111111110& E-200 |
| 1896 |
convertToDouble -8085E-64 |
| 1897 |
} 0xb374c98fce16152e |
| 1898 |
test expr-28.80 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1899 |
# Ad2b d UN +74819 E201 x 1dd455061eb3f1_0000000000000000000001& E683 |
| 1900 |
convertToDouble +74819E201 |
| 1901 |
} 0x6aadd455061eb3f1 |
| 1902 |
test expr-28.81 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1903 |
# Ad2b d UN -82081 E41 x -170105df3d47cb_000000000000000000000000001& E152 |
| 1904 |
convertToDouble -82081E41 |
| 1905 |
} 0xc9770105df3d47cb |
| 1906 |
test expr-28.82 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1907 |
# Ad2b d UN +51881 E37 x 17d2950dc76da4_000000000000000000001& E138 |
| 1908 |
convertToDouble +51881E37 |
| 1909 |
} 0x4897d2950dc76da4 |
| 1910 |
test expr-28.83 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1911 |
# Ad2b d UN -55061 E157 x -1394fc0f33536c_000000000000000000001& E537 |
| 1912 |
convertToDouble -55061E157 |
| 1913 |
} 0xe18394fc0f33536c |
| 1914 |
test expr-28.84 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1915 |
# Ad2b d UN +77402 E-215 x 10492a4a8a37fd_0000000000000000000000001& E-698 |
| 1916 |
convertToDouble +77402E-215 |
| 1917 |
} 0x1450492a4a8a37fd |
| 1918 |
test expr-28.85 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1919 |
# Ad2b d UN -33891 E-92 x -1592f9932c06bd_00000000000000000000001& E-291 |
| 1920 |
convertToDouble -33891E-92 |
| 1921 |
} 0xadc592f9932c06bd |
| 1922 |
test expr-28.86 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1923 |
# Ad2b d UN +38701 E-215 x 10492a4a8a37fd_0000000000000000000000001& E-699 |
| 1924 |
convertToDouble +38701E-215 |
| 1925 |
} 0x1440492a4a8a37fd |
| 1926 |
test expr-28.87 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1927 |
# Ad2b d UN -82139 E-76 x -1d0681489839d5_00000000000000000000001& E-237 |
| 1928 |
convertToDouble -82139E-76 |
| 1929 |
} 0xb12d0681489839d5 |
| 1930 |
test expr-28.88 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1931 |
# Ad2b dieee UN +75859 E25 x 132645e1ba93ef_11111111111111111111110& E99 |
| 1932 |
convertToDouble +75859E25 |
| 1933 |
} 0x46232645e1ba93f0 |
| 1934 |
test expr-28.89 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1935 |
# Ad2b d UN +89509 E140 x 16f02bee68670c_1111111111111111111110& E481 |
| 1936 |
convertToDouble +89509E140 |
| 1937 |
} 0x5e06f02bee68670d |
| 1938 |
test expr-28.90 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1939 |
# Ad2b d UN -57533 E287 x -1272ed2307f569_1111111111111111111110& E969 |
| 1940 |
convertToDouble -57533E287 |
| 1941 |
} 0xfc8272ed2307f56a |
| 1942 |
test expr-28.91 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1943 |
# Ad2b d UN +46073 E-32 x 12405b773fbdf2_11111111111111111111110& E-91 |
| 1944 |
convertToDouble +46073E-32 |
| 1945 |
} 0x3a42405b773fbdf3 |
| 1946 |
test expr-28.92 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1947 |
# Ad2b d UN -92146 E-32 x -12405b773fbdf2_11111111111111111111110& E-90 |
| 1948 |
convertToDouble -92146E-32 |
| 1949 |
} 0xba52405b773fbdf3 |
| 1950 |
test expr-28.93 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1951 |
# Ad2b d UN +83771 E-74 x 17206bfc4ccabd_11111111111111111111110& E-230 |
| 1952 |
convertToDouble +83771E-74 |
| 1953 |
} 0x3197206bfc4ccabe |
| 1954 |
test expr-28.94 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1955 |
# Ad2b d UN -34796 E-276 x -12d2df246ecd2c_1111111111111111111110& E-902 |
| 1956 |
convertToDouble -34796E-276 |
| 1957 |
} 0x8792d2df246ecd2d |
| 1958 |
test expr-28.95 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1959 |
# Ad2b d UN +584169 E229 x 1d657059dc79aa_00000000000000000000000000001& E779 |
| 1960 |
convertToDouble +584169E229 |
| 1961 |
} 0x70ad657059dc79aa |
| 1962 |
test expr-28.96 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1963 |
# Ad2b d UN +164162 E41 x 170105df3d47cb_000000000000000000000000001& E153 |
| 1964 |
convertToDouble +164162E41 |
| 1965 |
} 0x49870105df3d47cb |
| 1966 |
test expr-28.97 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1967 |
# Ad2b d UN -328324 E41 x -170105df3d47cb_000000000000000000000000001& E154 |
| 1968 |
convertToDouble -328324E41 |
| 1969 |
} 0xc9970105df3d47cb |
| 1970 |
test expr-28.98 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1971 |
# Ad2b dieee UN +209901 E-11 x 119b96f36ec68b_00000000000000000000000001& E-19 |
| 1972 |
convertToDouble +209901E-11 |
| 1973 |
} 0x3ec19b96f36ec68b |
| 1974 |
test expr-28.99 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1975 |
# Ad2b dieee UN -419802 E-11 x -119b96f36ec68b_00000000000000000000000001& E-18 |
| 1976 |
convertToDouble -419802E-11 |
| 1977 |
} 0xbed19b96f36ec68b |
| 1978 |
test expr-28.100 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1979 |
# Ad2b d UN +940189 E-112 x 1b99d6240c1a28_00000000000000000000000001& E-353 |
| 1980 |
convertToDouble +940189E-112 |
| 1981 |
} 0x29eb99d6240c1a28 |
| 1982 |
test expr-28.101 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1983 |
# Ad2b d UN -892771 E-213 x -125818c7294f27_0000000000000000000000000001& E-688 |
| 1984 |
convertToDouble -892771E-213 |
| 1985 |
} 0x94f25818c7294f27 |
| 1986 |
test expr-28.102 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1987 |
# Ad2b d UN +757803 E120 x 11e968b555bb80_11111111111111111111111111110& E418 |
| 1988 |
convertToDouble +757803E120 |
| 1989 |
} 0x5a11e968b555bb81 |
| 1990 |
test expr-28.103 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1991 |
# Ad2b d UN -252601 E120 x -17e1e0f1c7a4ab_11111111111111111111111111110& E416 |
| 1992 |
convertToDouble -252601E120 |
| 1993 |
} 0xd9f7e1e0f1c7a4ac |
| 1994 |
test expr-28.104 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1995 |
# Ad2b d UN +252601 E121 x 1dda592e398dd6_1111111111111111111111111110& E419 |
| 1996 |
convertToDouble +252601E121 |
| 1997 |
} 0x5a2dda592e398dd7 |
| 1998 |
test expr-28.105 {input floating-point conversion} {ieeeFloatingPoint} { |
| 1999 |
# Ad2b d UN -505202 E120 x -17e1e0f1c7a4ab_11111111111111111111111111110& E417 |
| 2000 |
convertToDouble -505202E120 |
| 2001 |
} 0xda07e1e0f1c7a4ac |
| 2002 |
test expr-28.106 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2003 |
# Ad2b d UN +970811 E-264 x 1dda6b965c9629_11111111111111111111111110& E-858 |
| 2004 |
convertToDouble +970811E-264 |
| 2005 |
} 0x0a5dda6b965c962a |
| 2006 |
test expr-28.107 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2007 |
# Ad2b d UN -654839 E-60 x -100e7db3b3f241_111111111111111111111111110& E-180 |
| 2008 |
convertToDouble -654839E-60 |
| 2009 |
} 0xb4b00e7db3b3f242 |
| 2010 |
test expr-28.108 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2011 |
# Ad2b d UN +289767 E-178 x 1caad28f23a100_11111111111111111111111110& E-574 |
| 2012 |
convertToDouble +289767E-178 |
| 2013 |
} 0x1c1caad28f23a101 |
| 2014 |
test expr-28.109 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2015 |
# Ad2b d UN -579534 E-178 x -1caad28f23a100_11111111111111111111111110& E-573 |
| 2016 |
convertToDouble -579534E-178 |
| 2017 |
} 0x9c2caad28f23a101 |
| 2018 |
test expr-28.110 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2019 |
# Ad2b d UN -8823691 E130 x -1e597c0b94b7ae_00000000000000000000000000000001& E454 |
| 2020 |
convertToDouble -8823691E130 |
| 2021 |
} 0xdc5e597c0b94b7ae |
| 2022 |
test expr-28.111 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2023 |
# Ad2b d UN +9346704 E229 x 1d657059dc79aa_00000000000000000000000000001& E783 |
| 2024 |
convertToDouble +9346704E229 |
| 2025 |
} 0x70ed657059dc79aa |
| 2026 |
test expr-28.112 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2027 |
# Ad2b d UN -1168338 E229 x -1d657059dc79aa_00000000000000000000000000001& E780 |
| 2028 |
convertToDouble -1168338E229 |
| 2029 |
} 0xf0bd657059dc79aa |
| 2030 |
test expr-28.113 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2031 |
# Ad2b d UN -6063369 E-136 x -1ae6148e3902b3_000000000000000000000000000001& E-430 |
| 2032 |
convertToDouble -6063369E-136 |
| 2033 |
} 0xa51ae6148e3902b3 |
| 2034 |
test expr-28.114 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2035 |
# Ad2b d UN +3865421 E-225 x 15d4fe53afec65_00000000000000000000000000001& E-726 |
| 2036 |
convertToDouble +3865421E-225 |
| 2037 |
} 0x1295d4fe53afec65 |
| 2038 |
test expr-28.115 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2039 |
# Ad2b d UN -5783893 E-127 x -17e5902ce0e151_000000000000000000000000000000001& E-400 |
| 2040 |
convertToDouble -5783893E-127 |
| 2041 |
} 0xa6f7e5902ce0e151 |
| 2042 |
test expr-28.116 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2043 |
# Ad2b d UN +2572231 E223 x 10f73be1dff9ac_111111111111111111111111111110& E762 |
| 2044 |
convertToDouble +2572231E223 |
| 2045 |
} 0x6f90f73be1dff9ad |
| 2046 |
test expr-28.117 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2047 |
# Ad2b d UN -5144462 E223 x -10f73be1dff9ac_111111111111111111111111111110& E763 |
| 2048 |
convertToDouble -5144462E223 |
| 2049 |
} 0xefa0f73be1dff9ad |
| 2050 |
test expr-28.118 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2051 |
# Ad2b d UN +1817623 E109 x 1d85f96f3fe659_11111111111111111111111111110& E382 |
| 2052 |
convertToDouble +1817623E109 |
| 2053 |
} 0x57dd85f96f3fe65a |
| 2054 |
test expr-28.119 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2055 |
# Ad2b d UN +6431543 E-97 x 14f6493f34a0bc_11111111111111111111111111110& E-300 |
| 2056 |
convertToDouble +6431543E-97 |
| 2057 |
} 0x2d34f6493f34a0bd |
| 2058 |
test expr-28.120 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2059 |
# Ad2b dieee UN -5444097 E-21 x -18849dd33c95ae_11111111111111111111111111110& E-48 |
| 2060 |
convertToDouble -5444097E-21 |
| 2061 |
} 0xbcf8849dd33c95af |
| 2062 |
test expr-28.121 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2063 |
# Ad2b d UN +8076999 E-121 x 1fd332f7e2e3b2_11111111111111111111111111110& E-380 |
| 2064 |
convertToDouble +8076999E-121 |
| 2065 |
} 0x283fd332f7e2e3b3 |
| 2066 |
test expr-28.122 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2067 |
# Ad2b d UN -9997649 E-270 x -1425e9d29e558d_1111111111111111111111111110& E-874 |
| 2068 |
convertToDouble -9997649E-270 |
| 2069 |
} 0x895425e9d29e558e |
| 2070 |
test expr-28.123 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2071 |
# Ad2b d UN +50609263 E157 x 1193aff1f1c8e3_000000000000000000000000000000001& E547 |
| 2072 |
convertToDouble +50609263E157 |
| 2073 |
} 0x622193aff1f1c8e3 |
| 2074 |
test expr-28.124 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2075 |
# Ad2b d UN +70589528 E130 x 1e597c0b94b7ae_00000000000000000000000000000001& E457 |
| 2076 |
convertToDouble +70589528E130 |
| 2077 |
} 0x5c8e597c0b94b7ae |
| 2078 |
test expr-28.125 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2079 |
# Ad2b d UN -88236910 E129 x -1e597c0b94b7ae_00000000000000000000000000000001& E454 |
| 2080 |
convertToDouble -88236910E129 |
| 2081 |
} 0xdc5e597c0b94b7ae |
| 2082 |
test expr-28.126 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2083 |
# Ad2b d UN +87575437 E-310 x 1805c19e680456_0000000000000000000000000000000000001& E-1004 |
| 2084 |
convertToDouble +87575437E-310 |
| 2085 |
} 0x013805c19e680456 |
| 2086 |
test expr-28.127 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2087 |
# Ad2b d UN -23135572 E-127 x -17e5902ce0e151_000000000000000000000000000000001& E-398 |
| 2088 |
convertToDouble -23135572E-127 |
| 2089 |
} 0xa717e5902ce0e151 |
| 2090 |
test expr-28.128 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2091 |
# Ad2b d UN +85900881 E177 x 14375b2214e1b4_111111111111111111111111111111110& E614 |
| 2092 |
convertToDouble +85900881E177 |
| 2093 |
} 0x6654375b2214e1b5 |
| 2094 |
test expr-28.129 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2095 |
# Ad2b d UN -84863171 E113 x -1a4a8e56474b8b_111111111111111111111111111111110& E401 |
| 2096 |
convertToDouble -84863171E113 |
| 2097 |
} 0xd90a4a8e56474b8c |
| 2098 |
test expr-28.130 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2099 |
# Ad2b d UN +68761586 E232 x 1a662c350f37f2_1111111111111111111111111111110& E796 |
| 2100 |
convertToDouble +68761586E232 |
| 2101 |
} 0x71ba662c350f37f3 |
| 2102 |
test expr-28.131 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2103 |
# Ad2b d UN -50464069 E286 x -1948dd06de561e_1111111111111111111111111111110& E975 |
| 2104 |
convertToDouble -50464069E286 |
| 2105 |
} 0xfce948dd06de561f |
| 2106 |
test expr-28.132 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2107 |
# Ad2b d UN +27869147 E-248 x 1dbbac6f83a820_111111111111111111111111111111111110& E-800 |
| 2108 |
convertToDouble +27869147E-248 |
| 2109 |
} 0x0dfdbbac6f83a821 |
| 2110 |
test expr-28.133 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2111 |
# Ad2b d UN -55738294 E-248 x -1dbbac6f83a820_111111111111111111111111111111111110& E-799 |
| 2112 |
convertToDouble -55738294E-248 |
| 2113 |
} 0x8e0dbbac6f83a821 |
| 2114 |
test expr-28.134 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2115 |
# Ad2b d UN +70176353 E-53 x 100683a21de854_1111111111111111111111111111111110& E-150 |
| 2116 |
convertToDouble +70176353E-53 |
| 2117 |
} 0x36900683a21de855 |
| 2118 |
test expr-28.135 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2119 |
# Ad2b d UN -80555086 E-32 x -1f29ca0ff893b0_111111111111111111111111111111110& E-81 |
| 2120 |
convertToDouble -80555086E-32 |
| 2121 |
} 0xbaef29ca0ff893b1 |
| 2122 |
test expr-28.136 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2123 |
# Ad2b d UN -491080654 E121 x -1c569e968e0944_00000000000000000000000000000000000000001& E430 |
| 2124 |
convertToDouble -491080654E121 |
| 2125 |
} 0xdadc569e968e0944 |
| 2126 |
test expr-28.137 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2127 |
# Ad2b d UN +526250918 E287 x 14997a298b2f2e_0000000000000000000000000000000000001& E982 |
| 2128 |
convertToDouble +526250918E287 |
| 2129 |
} 0x7d54997a298b2f2e |
| 2130 |
test expr-28.138 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2131 |
# Ad2b d UN -245540327 E121 x -1c569e968e0944_00000000000000000000000000000000000000001& E429 |
| 2132 |
convertToDouble -245540327E121 |
| 2133 |
} 0xdacc569e968e0944 |
| 2134 |
test expr-28.139 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2135 |
# Ad2b d UN -175150874 E-310 x -1805c19e680456_0000000000000000000000000000000000001& E-1003 |
| 2136 |
convertToDouble -175150874E-310 |
| 2137 |
} 0x814805c19e680456 |
| 2138 |
test expr-28.140 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2139 |
# Ad2b d UN +350301748 E-310 x 1805c19e680456_0000000000000000000000000000000000001& E-1002 |
| 2140 |
convertToDouble +350301748E-310 |
| 2141 |
} 0x015805c19e680456 |
| 2142 |
test expr-28.141 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2143 |
# Ad2b d UN -437877185 E-311 x -1805c19e680456_0000000000000000000000000000000000001& E-1005 |
| 2144 |
convertToDouble -437877185E-311 |
| 2145 |
} 0x812805c19e680456 |
| 2146 |
test expr-28.142 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2147 |
# Ad2b d UN +458117166 E52 x 16ce94febdc7a4_1111111111111111111111111111111111110& E201 |
| 2148 |
convertToDouble +458117166E52 |
| 2149 |
} 0x4c86ce94febdc7a5 |
| 2150 |
test expr-28.143 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2151 |
# Ad2b d UN -916234332 E52 x -16ce94febdc7a4_1111111111111111111111111111111111110& E202 |
| 2152 |
convertToDouble -916234332E52 |
| 2153 |
} 0xcc96ce94febdc7a5 |
| 2154 |
test expr-28.144 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2155 |
# Ad2b d UN +229058583 E52 x 16ce94febdc7a4_1111111111111111111111111111111111110& E200 |
| 2156 |
convertToDouble +229058583E52 |
| 2157 |
} 0x4c76ce94febdc7a5 |
| 2158 |
test expr-28.145 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2159 |
# Ad2b d UN -525789935 E98 x -16ecdc2a58fc64_11111111111111111111111111111111110& E354 |
| 2160 |
convertToDouble -525789935E98 |
| 2161 |
} 0xd616ecdc2a58fc65 |
| 2162 |
test expr-28.146 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2163 |
# Ad2b d UN +282926897 E-227 x 1ff5a70d3d2fee_1111111111111111111111111111111111110& E-727 |
| 2164 |
convertToDouble +282926897E-227 |
| 2165 |
} 0x128ff5a70d3d2fef |
| 2166 |
test expr-28.147 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2167 |
# Ad2b d UN -565853794 E-227 x -1ff5a70d3d2fee_1111111111111111111111111111111111110& E-726 |
| 2168 |
convertToDouble -565853794E-227 |
| 2169 |
} 0x929ff5a70d3d2fef |
| 2170 |
test expr-28.148 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2171 |
# Ad2b d UN +667284113 E-240 x 109355f8050c01_111111111111111111111111111111111110& E-768 |
| 2172 |
convertToDouble +667284113E-240 |
| 2173 |
} 0x0ff09355f8050c02 |
| 2174 |
test expr-28.149 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2175 |
# Ad2b d UN -971212611 E-126 x -1397d3c9745d2e_111111111111111111111111111111111111110& E-389 |
| 2176 |
convertToDouble -971212611E-126 |
| 2177 |
} 0xa7a397d3c9745d2f |
| 2178 |
test expr-28.150 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2179 |
# Ad2b d UN +9981396317 E-182 x 18afe10a2a66aa_0000000000000000000000000000000000000001& E-572 |
| 2180 |
convertToDouble +9981396317E-182 |
| 2181 |
} 0x1c38afe10a2a66aa |
| 2182 |
test expr-28.151 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2183 |
# Ad2b d UN -5035231965 E-156 x -101891fc4717fd_00000000000000000000000000000000000001& E-486 |
| 2184 |
convertToDouble -5035231965E-156 |
| 2185 |
} 0xa1901891fc4717fd |
| 2186 |
test expr-28.152 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2187 |
# Ad2b d UN +8336960483 E-153 x 1a06a1024b95e1_000000000000000000000000000000000000001& E-476 |
| 2188 |
convertToDouble +8336960483E-153 |
| 2189 |
} 0x223a06a1024b95e1 |
| 2190 |
test expr-28.153 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2191 |
# Ad2b d UN -8056371144 E-155 x -101891fc4717fd_00000000000000000000000000000000000001& E-482 |
| 2192 |
convertToDouble -8056371144E-155 |
| 2193 |
} 0xa1d01891fc4717fd |
| 2194 |
test expr-28.154 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2195 |
# Ad2b d UN +6418488827 E79 x 1021f14ed7b3f9_11111111111111111111111111111111111111110& E295 |
| 2196 |
convertToDouble +6418488827E79 |
| 2197 |
} 0x526021f14ed7b3fa |
| 2198 |
test expr-28.155 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2199 |
# Ad2b d UN -3981006983 E252 x -102ebaf189d5f1_1111111111111111111111111111111111111110& E869 |
| 2200 |
convertToDouble -3981006983E252 |
| 2201 |
} 0xf6402ebaf189d5f2 |
| 2202 |
test expr-28.156 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2203 |
# Ad2b d UN +7962013966 E252 x 102ebaf189d5f1_1111111111111111111111111111111111111110& E870 |
| 2204 |
convertToDouble +7962013966E252 |
| 2205 |
} 0x76502ebaf189d5f2 |
| 2206 |
test expr-28.157 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2207 |
# Ad2b d UN -4713898551 E261 x -11d8813536e0df_11111111111111111111111111111111111110& E899 |
| 2208 |
convertToDouble -4713898551E261 |
| 2209 |
} 0xf821d8813536e0e0 |
| 2210 |
test expr-28.158 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2211 |
# Ad2b d UN +8715380633 E-58 x 14614c3219891e_11111111111111111111111111111111111111110& E-160 |
| 2212 |
convertToDouble +8715380633E-58 |
| 2213 |
} 0x35f4614c3219891f |
| 2214 |
test expr-28.159 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2215 |
# Ad2b d UN -9078555839 E-109 x -1fc575867314ed_111111111111111111111111111111111111111111110& E-330 |
| 2216 |
convertToDouble -9078555839E-109 |
| 2217 |
} 0xab5fc575867314ee |
| 2218 |
test expr-28.160 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2219 |
# Ad2b d UN +9712126110 E-127 x 1397d3c9745d2e_111111111111111111111111111111111111110& E-389 |
| 2220 |
convertToDouble +9712126110E-127 |
| 2221 |
} 0x27a397d3c9745d2f |
| 2222 |
test expr-28.161 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2223 |
# Ad2b d UN +42333842451 E201 x 10189a26df575f_000000000000000000000000000000000000000000001& E703 |
| 2224 |
convertToDouble +42333842451E201 |
| 2225 |
} 0x6be0189a26df575f |
| 2226 |
test expr-28.162 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2227 |
# Ad2b d UN -84667684902 E201 x -10189a26df575f_000000000000000000000000000000000000000000001& E704 |
| 2228 |
convertToDouble -84667684902E201 |
| 2229 |
} 0xebf0189a26df575f |
| 2230 |
test expr-28.163 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2231 |
# Ad2b d UN +23792120709 E-315 x 10b517dc5d3212_00000000000000000000000000000000000000001& E-1012 |
| 2232 |
convertToDouble +23792120709E-315 |
| 2233 |
} 0x00b0b517dc5d3212 |
| 2234 |
test expr-28.164 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2235 |
# Ad2b d UN -78564021519 E-227 x -1155515fd37265_00000000000000000000000000000000000000000001& E-718 |
| 2236 |
convertToDouble -78564021519E-227 |
| 2237 |
} 0x931155515fd37265 |
| 2238 |
test expr-28.165 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2239 |
# Ad2b d UN +71812054883 E-188 x 1747b46d78c6fe_00000000000000000000000000000000000000001& E-589 |
| 2240 |
convertToDouble +71812054883E-188 |
| 2241 |
} 0x1b2747b46d78c6fe |
| 2242 |
test expr-28.166 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2243 |
# Ad2b d UN -30311163631 E-116 x -163ef6f560afe7_00000000000000000000000000000000000000001& E-351 |
| 2244 |
convertToDouble -30311163631E-116 |
| 2245 |
} 0xaa063ef6f560afe7 |
| 2246 |
test expr-28.167 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2247 |
# Ad2b d UN +71803914657 E292 x 10c0c44cdc2c05_11111111111111111111111111111111111111111110& E1006 |
| 2248 |
convertToDouble +71803914657E292 |
| 2249 |
} 0x7ed0c0c44cdc2c06 |
| 2250 |
test expr-28.168 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2251 |
# Ad2b d UN +36314223356 E-109 x 1fc575867314ed_111111111111111111111111111111111111111111110& E-328 |
| 2252 |
convertToDouble +36314223356E-109 |
| 2253 |
} 0x2b7fc575867314ee |
| 2254 |
test expr-28.169 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2255 |
# Ad2b d UN +18157111678 E-109 x 1fc575867314ed_111111111111111111111111111111111111111111110& E-329 |
| 2256 |
convertToDouble +18157111678E-109 |
| 2257 |
} 0x2b6fc575867314ee |
| 2258 |
test expr-28.170 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2259 |
# Ad2b d UN -45392779195 E-110 x -1fc575867314ed_111111111111111111111111111111111111111111110& E-331 |
| 2260 |
convertToDouble -45392779195E-110 |
| 2261 |
} 0xab4fc575867314ee |
| 2262 |
test expr-28.171 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2263 |
# Ad2b d UN +778380362293 E218 x 19ab8261990292_0000000000000000000000000000000000000000000000000001& E763 |
| 2264 |
convertToDouble +778380362293E218 |
| 2265 |
} 0x6fa9ab8261990292 |
| 2266 |
test expr-28.172 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2267 |
# Ad2b d UN -685763015669 E280 x -15fd7aa44d9477_000000000000000000000000000000000000000000000001& E969 |
| 2268 |
convertToDouble -685763015669E280 |
| 2269 |
} 0xfc85fd7aa44d9477 |
| 2270 |
test expr-28.173 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2271 |
# Ad2b d UN +952918668151 E70 x 14177a9915fbf8_00000000000000000000000000000000000000000000001& E272 |
| 2272 |
convertToDouble +952918668151E70 |
| 2273 |
} 0x50f4177a9915fbf8 |
| 2274 |
test expr-28.174 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2275 |
# Ad2b d UN -548357443505 E32 x -13abde2775e9b5_0000000000000000000000000000000000000000000001& E145 |
| 2276 |
convertToDouble -548357443505E32 |
| 2277 |
} 0xc903abde2775e9b5 |
| 2278 |
test expr-28.175 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2279 |
# Ad2b d UN +384865004907 E-285 x 1aa65b58639e69_00000000000000000000000000000000000000000000001& E-909 |
| 2280 |
convertToDouble +384865004907E-285 |
| 2281 |
} 0x072aa65b58639e69 |
| 2282 |
test expr-28.176 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2283 |
# Ad2b d UN -769730009814 E-285 x -1aa65b58639e69_00000000000000000000000000000000000000000000001& E-908 |
| 2284 |
convertToDouble -769730009814E-285 |
| 2285 |
} 0x873aa65b58639e69 |
| 2286 |
test expr-28.177 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2287 |
# Ad2b d UN +697015418417 E-93 x 152847dad80453_0000000000000000000000000000000000000000000001& E-270 |
| 2288 |
convertToDouble +697015418417E-93 |
| 2289 |
} 0x2f152847dad80453 |
| 2290 |
test expr-28.178 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2291 |
# Ad2b d UN -915654049301 E-28 x -1a645598d05989_0000000000000000000000000000000000000000000001& E-54 |
| 2292 |
convertToDouble -915654049301E-28 |
| 2293 |
} 0xbc9a645598d05989 |
| 2294 |
test expr-28.179 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2295 |
# Ad2b d UN +178548656339 E169 x 1b89d67c5b6d24_111111111111111111111111111111111111111111110& E598 |
| 2296 |
convertToDouble +178548656339E169 |
| 2297 |
} 0x655b89d67c5b6d25 |
| 2298 |
test expr-28.180 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2299 |
# Ad2b d UN -742522891517 E259 x -1c1c352fc3c308_11111111111111111111111111111111111111111111110& E899 |
| 2300 |
convertToDouble -742522891517E259 |
| 2301 |
} 0xf82c1c352fc3c309 |
| 2302 |
test expr-28.181 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2303 |
# Ad2b d UN +742522891517 E258 x 167cf7596968d3_11111111111111111111111111111111111111111111110& E896 |
| 2304 |
convertToDouble +742522891517E258 |
| 2305 |
} 0x77f67cf7596968d4 |
| 2306 |
test expr-28.182 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2307 |
# Ad2b d UN -357097312678 E169 x -1b89d67c5b6d24_111111111111111111111111111111111111111111110& E599 |
| 2308 |
convertToDouble -357097312678E169 |
| 2309 |
} 0xe56b89d67c5b6d25 |
| 2310 |
test expr-28.183 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2311 |
# Ad2b d UN -3113521449172 E218 x -19ab8261990292_0000000000000000000000000000000000000000000000000001& E765 |
| 2312 |
convertToDouble -3113521449172E218 |
| 2313 |
} 0xefc9ab8261990292 |
| 2314 |
test expr-28.184 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2315 |
# Ad2b d UN +3891901811465 E217 x 19ab8261990292_0000000000000000000000000000000000000000000000000001& E762 |
| 2316 |
convertToDouble +3891901811465E217 |
| 2317 |
} 0x6f99ab8261990292 |
| 2318 |
test expr-28.185 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2319 |
# Ad2b d UN -1556760724586 E218 x -19ab8261990292_0000000000000000000000000000000000000000000000000001& E764 |
| 2320 |
convertToDouble -1556760724586E218 |
| 2321 |
} 0xefb9ab8261990292 |
| 2322 |
test expr-28.186 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2323 |
# Ad2b d UN +9997878507563 E-195 x 153db2fea1ea31_0000000000000000000000000000000000000000000000001& E-605 |
| 2324 |
convertToDouble +9997878507563E-195 |
| 2325 |
} 0x1a253db2fea1ea31 |
| 2326 |
test expr-28.187 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2327 |
# Ad2b d UN -7247563029154 E-319 x -10493f056e9ef3_0000000000000000000000000000000000000000000000001& E-1017 |
| 2328 |
convertToDouble -7247563029154E-319 |
| 2329 |
} 0x8060493f056e9ef3 |
| 2330 |
test expr-28.188 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2331 |
# Ad2b d UN +3623781514577 E-319 x 10493f056e9ef3_0000000000000000000000000000000000000000000000001& E-1018 |
| 2332 |
convertToDouble +3623781514577E-319 |
| 2333 |
} 0x0050493f056e9ef3 |
| 2334 |
test expr-28.189 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2335 |
# Ad2b d UN -3092446298323 E-200 x -113918353bbc47_0000000000000000000000000000000000000000000000001& E-623 |
| 2336 |
convertToDouble -3092446298323E-200 |
| 2337 |
} 0x99013918353bbc47 |
| 2338 |
test expr-28.190 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2339 |
# Ad2b d UN +6363857920591 E145 x 128a61cf9483b6_1111111111111111111111111111111111111111111111111110& E524 |
| 2340 |
convertToDouble +6363857920591E145 |
| 2341 |
} 0x60b28a61cf9483b7 |
| 2342 |
test expr-28.191 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2343 |
# Ad2b d UN -8233559360849 E94 x -11f324d11d4861_1111111111111111111111111111111111111111111111110& E355 |
| 2344 |
convertToDouble -8233559360849E94 |
| 2345 |
} 0xd621f324d11d4862 |
| 2346 |
test expr-28.192 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2347 |
# Ad2b d UN +2689845954547 E49 x 10bd2bfd34f98a_1111111111111111111111111111111111111111111111110& E204 |
| 2348 |
convertToDouble +2689845954547E49 |
| 2349 |
} 0x4cb0bd2bfd34f98b |
| 2350 |
test expr-28.193 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2351 |
# Ad2b d UN -5379691909094 E49 x -10bd2bfd34f98a_1111111111111111111111111111111111111111111111110& E205 |
| 2352 |
convertToDouble -5379691909094E49 |
| 2353 |
} 0xccc0bd2bfd34f98b |
| 2354 |
test expr-28.194 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2355 |
# Ad2b d UN +5560322501926 E-301 x 15acc2053064c1_11111111111111111111111111111111111111111111111110& E-958 |
| 2356 |
convertToDouble +5560322501926E-301 |
| 2357 |
} 0x0415acc2053064c2 |
| 2358 |
test expr-28.195 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2359 |
# Ad2b d UN -7812878489261 E-179 x -126dae7bbeda74_11111111111111111111111111111111111111111111111111110& E-552 |
| 2360 |
convertToDouble -7812878489261E-179 |
| 2361 |
} 0x9d726dae7bbeda75 |
| 2362 |
test expr-28.196 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2363 |
# Ad2b d UN +8439398533053 E-256 x 170cc285f2d209_1111111111111111111111111111111111111111111111110& E-808 |
| 2364 |
convertToDouble +8439398533053E-256 |
| 2365 |
} 0x0d770cc285f2d20a |
| 2366 |
test expr-28.197 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2367 |
# Ad2b d UN -2780161250963 E-301 x -15acc2053064c1_11111111111111111111111111111111111111111111111110& E-959 |
| 2368 |
convertToDouble -2780161250963E-301 |
| 2369 |
} 0x8405acc2053064c2 |
| 2370 |
test expr-28.198 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2371 |
# Ad2b d UN -87605699161665 E155 x -12920f96e7f9ef_00000000000000000000000000000000000000000000000000001& E561 |
| 2372 |
convertToDouble -87605699161665E155 |
| 2373 |
} 0xe302920f96e7f9ef |
| 2374 |
test expr-28.199 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2375 |
# Ad2b d UN -17521139832333 E156 x -12920f96e7f9ef_00000000000000000000000000000000000000000000000000001& E562 |
| 2376 |
convertToDouble -17521139832333E156 |
| 2377 |
} 0xe312920f96e7f9ef |
| 2378 |
test expr-28.200 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2379 |
# Ad2b d UN -88218101363513 E-170 x -18395688592faf_0000000000000000000000000000000000000000000000000001& E-519 |
| 2380 |
convertToDouble -88218101363513E-170 |
| 2381 |
} 0x9f88395688592faf |
| 2382 |
test expr-28.201 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2383 |
# Ad2b d UN +38639244311627 E-115 x 114ef3e205c817_0000000000000000000000000000000000000000000000000001& E-337 |
| 2384 |
convertToDouble +38639244311627E-115 |
| 2385 |
} 0x2ae14ef3e205c817 |
| 2386 |
test expr-28.202 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2387 |
# Ad2b d UN +35593959807306 E261 x 1072f3819c1320_11111111111111111111111111111111111111111111111111110& E912 |
| 2388 |
convertToDouble +35593959807306E261 |
| 2389 |
} 0x78f072f3819c1321 |
| 2390 |
test expr-28.203 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2391 |
# Ad2b d UN -53390939710959 E260 x -13bd243521b08d_11111111111111111111111111111111111111111111111111110& E909 |
| 2392 |
convertToDouble -53390939710959E260 |
| 2393 |
} 0xf8c3bd243521b08e |
| 2394 |
test expr-28.204 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2395 |
# Ad2b d UN +71187919614612 E261 x 1072f3819c1320_11111111111111111111111111111111111111111111111111110& E913 |
| 2396 |
convertToDouble +71187919614612E261 |
| 2397 |
} 0x790072f3819c1321 |
| 2398 |
test expr-28.205 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2399 |
# Ad2b d UN -88984899518265 E260 x -1072f3819c1320_11111111111111111111111111111111111111111111111111110& E910 |
| 2400 |
convertToDouble -88984899518265E260 |
| 2401 |
} 0xf8d072f3819c1321 |
| 2402 |
test expr-28.206 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2403 |
# Ad2b d UN +77003665618895 E-73 x 18bf7e7fa6f029_111111111111111111111111111111111111111111111111111111110& E-197 |
| 2404 |
convertToDouble +77003665618895E-73 |
| 2405 |
} 0x33a8bf7e7fa6f02a |
| 2406 |
test expr-28.207 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2407 |
# Ad2b d UN -15400733123779 E-72 x -18bf7e7fa6f029_111111111111111111111111111111111111111111111111111111110& E-196 |
| 2408 |
convertToDouble -15400733123779E-72 |
| 2409 |
} 0xb3b8bf7e7fa6f02a |
| 2410 |
test expr-28.208 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2411 |
# Ad2b d UN +61602932495116 E-72 x 18bf7e7fa6f029_111111111111111111111111111111111111111111111111111111110& E-194 |
| 2412 |
convertToDouble +61602932495116E-72 |
| 2413 |
} 0x33d8bf7e7fa6f02a |
| 2414 |
test expr-28.209 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2415 |
# Ad2b d UN -30801466247558 E-72 x -18bf7e7fa6f029_111111111111111111111111111111111111111111111111111111110& E-195 |
| 2416 |
convertToDouble -30801466247558E-72 |
| 2417 |
} 0xb3c8bf7e7fa6f02a |
| 2418 |
test expr-28.210 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2419 |
# Ad2b d UN +834735494917063 E-300 x 1fc6c26f899dd1_0000000000000000000000000000000000000000000000000000000001& E-948 |
| 2420 |
convertToDouble +834735494917063E-300 |
| 2421 |
} 0x04bfc6c26f899dd1 |
| 2422 |
test expr-28.211 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2423 |
# Ad2b d UN -589795149206434 E-151 x -15f2df5e675a0f_0000000000000000000000000000000000000000000000000000000001& E-453 |
| 2424 |
convertToDouble -589795149206434E-151 |
| 2425 |
} 0xa3a5f2df5e675a0f |
| 2426 |
test expr-28.212 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2427 |
# Ad2b d UN +475603213226859 E-42 x 12d73088f4050a_000000000000000000000000000000000000000000000000000000001& E-91 |
| 2428 |
convertToDouble +475603213226859E-42 |
| 2429 |
} 0x3a42d73088f4050a |
| 2430 |
test expr-28.213 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2431 |
# Ad2b d UN -294897574603217 E-151 x -15f2df5e675a0f_0000000000000000000000000000000000000000000000000000000001& E-454 |
| 2432 |
convertToDouble -294897574603217E-151 |
| 2433 |
} 0xa395f2df5e675a0f |
| 2434 |
test expr-28.214 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2435 |
# Ad2b d UN +850813008001913 E93 x 172f7a1831ad70_11111111111111111111111111111111111111111111111111111110& E358 |
| 2436 |
convertToDouble +850813008001913E93 |
| 2437 |
} 0x56572f7a1831ad71 |
| 2438 |
test expr-28.215 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2439 |
# Ad2b d UN -203449172043339 E185 x -1102b47e4af987_11111111111111111111111111111111111111111111111111111110& E662 |
| 2440 |
convertToDouble -203449172043339E185 |
| 2441 |
} 0xe95102b47e4af988 |
| 2442 |
test expr-28.216 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2443 |
# Ad2b d UN +406898344086678 E185 x 1102b47e4af987_11111111111111111111111111111111111111111111111111111110& E663 |
| 2444 |
convertToDouble +406898344086678E185 |
| 2445 |
} 0x696102b47e4af988 |
| 2446 |
test expr-28.217 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2447 |
# Ad2b d UN -813796688173356 E185 x -1102b47e4af987_11111111111111111111111111111111111111111111111111111110& E664 |
| 2448 |
convertToDouble -813796688173356E185 |
| 2449 |
} 0xe97102b47e4af988 |
| 2450 |
test expr-28.218 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2451 |
# Ad2b d UN +6045338514609393 E244 x 1f746182e6cd5d_00000000000000000000000000000000000000000000000000000000001& E862 |
| 2452 |
convertToDouble +6045338514609393E244 |
| 2453 |
} 0x75df746182e6cd5d |
| 2454 |
test expr-28.219 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2455 |
# Ad2b d UN -5145963778954906 E142 x -1dfc11fbf46087_00000000000000000000000000000000000000000000000000000000001& E523 |
| 2456 |
convertToDouble -5145963778954906E142 |
| 2457 |
} 0xe0adfc11fbf46087 |
| 2458 |
test expr-28.220 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2459 |
# Ad2b d UN +2572981889477453 E142 x 1dfc11fbf46087_00000000000000000000000000000000000000000000000000000000001& E522 |
| 2460 |
convertToDouble +2572981889477453E142 |
| 2461 |
} 0x609dfc11fbf46087 |
| 2462 |
test expr-28.221 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2463 |
# Ad2b d UN -6965949469487146 E74 x -15e2c10ad970b0_0000000000000000000000000000000000000000000000000000000001& E298 |
| 2464 |
convertToDouble -6965949469487146E74 |
| 2465 |
} 0xd295e2c10ad970b0 |
| 2466 |
test expr-28.222 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2467 |
# Ad2b d UN +6182410494241627 E-119 x 11b96458445d07_0000000000000000000000000000000000000000000000000000000000001& E-343 |
| 2468 |
convertToDouble +6182410494241627E-119 |
| 2469 |
} 0x2a81b96458445d07 |
| 2470 |
test expr-28.223 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2471 |
# Ad2b d UN -8510309498186985 E-277 x -1acc46749dccfe_000000000000000000000000000000000000000000000000000000000001& E-868 |
| 2472 |
convertToDouble -8510309498186985E-277 |
| 2473 |
} 0x89bacc46749dccfe |
| 2474 |
test expr-28.224 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2475 |
# Ad2b d UN +6647704637273331 E-212 x 13e07d2c0cb1e9_0000000000000000000000000000000000000000000000000000000000001& E-652 |
| 2476 |
convertToDouble +6647704637273331E-212 |
| 2477 |
} 0x1733e07d2c0cb1e9 |
| 2478 |
test expr-28.225 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2479 |
# Ad2b d UN -2215901545757777 E-212 x -1a80a6e566428c_000000000000000000000000000000000000000000000000000000000001& E-654 |
| 2480 |
convertToDouble -2215901545757777E-212 |
| 2481 |
} 0x971a80a6e566428c |
| 2482 |
test expr-28.226 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2483 |
# Ad2b d UN +3771476185376383 E276 x 183010aba78a53_111111111111111111111111111111111111111111111111111111111110& E968 |
| 2484 |
convertToDouble +3771476185376383E276 |
| 2485 |
} 0x7c783010aba78a54 |
| 2486 |
test expr-28.227 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2487 |
# Ad2b d UN -3729901848043846 E212 x -1f7d6721f7f143_111111111111111111111111111111111111111111111111111111111110& E755 |
| 2488 |
convertToDouble -3729901848043846E212 |
| 2489 |
} 0xef2f7d6721f7f144 |
| 2490 |
test expr-28.228 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2491 |
# Ad2b d UN +3771476185376383 E277 x 1e3c14d6916ce8_111111111111111111111111111111111111111111111111111111111110& E971 |
| 2492 |
convertToDouble +3771476185376383E277 |
| 2493 |
} 0x7cae3c14d6916ce9 |
| 2494 |
test expr-28.229 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2495 |
# Ad2b d UN -9977830465649166 E119 x -15f6de9d5d6b5a_111111111111111111111111111111111111111111111111111111111110& E448 |
| 2496 |
convertToDouble -9977830465649166E119 |
| 2497 |
} 0xdbf5f6de9d5d6b5b |
| 2498 |
test expr-28.230 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2499 |
# Ad2b d UN +8439928496349319 E-142 x 12483a0f125699_111111111111111111111111111111111111111111111111111111111110& E-419 |
| 2500 |
convertToDouble +8439928496349319E-142 |
| 2501 |
} 0x25c2483a0f12569a |
| 2502 |
test expr-28.231 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2503 |
# Ad2b d UN -8204230082070882 E-59 x -1d460f4fca1d36_1111111111111111111111111111111111111111111111111111111110& E-144 |
| 2504 |
convertToDouble -8204230082070882E-59 |
| 2505 |
} 0xb6fd460f4fca1d37 |
| 2506 |
test expr-28.232 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2507 |
# Ad2b d UN +8853686434843997 E-244 x 157a340eb5d4f0_11111111111111111111111111111111111111111111111111111111110& E-758 |
| 2508 |
convertToDouble +8853686434843997E-244 |
| 2509 |
} 0x10957a340eb5d4f1 |
| 2510 |
test expr-28.233 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2511 |
# Ad2b d UN -5553274272288559 E-104 x -1c47d20a19d1ed_1111111111111111111111111111111111111111111111111111111110& E-294 |
| 2512 |
convertToDouble -5553274272288559E-104 |
| 2513 |
} 0xad9c47d20a19d1ee |
| 2514 |
test expr-28.234 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2515 |
# Ad2b d UN +36149023611096162 E144 x 1491daad0ba280_0000000000000000000000000000000000000000000000000000000000000001& E533 |
| 2516 |
convertToDouble +36149023611096162E144 |
| 2517 |
} 0x614491daad0ba280 |
| 2518 |
test expr-28.235 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2519 |
# Ad2b d UN -36149023611096162 E147 x -14166f8cfd5cb1_0000000000000000000000000000000000000000000000000000000000000001& E543 |
| 2520 |
convertToDouble -36149023611096162E147 |
| 2521 |
} 0xe1e4166f8cfd5cb1 |
| 2522 |
test expr-28.236 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2523 |
# Ad2b d UN +18074511805548081 E146 x 1011f2d73116f4_0000000000000000000000000000000000000000000000000000000000000001& E539 |
| 2524 |
convertToDouble +18074511805548081E146 |
| 2525 |
} 0x61a011f2d73116f4 |
| 2526 |
test expr-28.237 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2527 |
# Ad2b d UN -18074511805548081 E147 x -14166f8cfd5cb1_0000000000000000000000000000000000000000000000000000000000000001& E542 |
| 2528 |
convertToDouble -18074511805548081E147 |
| 2529 |
} 0xe1d4166f8cfd5cb1 |
| 2530 |
test expr-28.238 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2531 |
# Ad2b d UN +97338774138954421 E-290 x 10d9b828199006_0000000000000000000000000000000000000000000000000000000000000001& E-907 |
| 2532 |
convertToDouble +97338774138954421E-290 |
| 2533 |
} 0x0740d9b828199006 |
| 2534 |
test expr-28.239 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2535 |
# Ad2b d UN -88133809804950961 E-308 x -119710dc581911_000000000000000000000000000000000000000000000000000000000000001& E-967 |
| 2536 |
convertToDouble -88133809804950961E-308 |
| 2537 |
} 0x83819710dc581911 |
| 2538 |
test expr-28.240 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2539 |
# Ad2b d UN +94080055902682397 E-243 x 11d467e94b856e_0000000000000000000000000000000000000000000000000000000000000001& E-751 |
| 2540 |
convertToDouble +94080055902682397E-243 |
| 2541 |
} 0x1101d467e94b856e |
| 2542 |
test expr-28.241 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2543 |
# Ad2b d UN -24691002732654881 E-115 x -159a2783ce70ab_000000000000000000000000000000000000000000000000000000000000001& E-328 |
| 2544 |
convertToDouble -24691002732654881E-115 |
| 2545 |
} 0xab759a2783ce70ab |
| 2546 |
test expr-28.242 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2547 |
# Ad2b d UN +52306490527514614 E49 x 13de005bd620de_111111111111111111111111111111111111111111111111111111111111111110& E218 |
| 2548 |
convertToDouble +52306490527514614E49 |
| 2549 |
} 0x4d93de005bd620df |
| 2550 |
test expr-28.243 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2551 |
# Ad2b d UN -26153245263757307 E49 x -13de005bd620de_111111111111111111111111111111111111111111111111111111111111111110& E217 |
| 2552 |
convertToDouble -26153245263757307E49 |
| 2553 |
} 0xcd83de005bd620df |
| 2554 |
test expr-28.244 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2555 |
# Ad2b d UN +55188692254193604 E165 x 1a999ddec72ac9_11111111111111111111111111111111111111111111111111111111111110& E603 |
| 2556 |
convertToDouble +55188692254193604E165 |
| 2557 |
} 0x65aa999ddec72aca |
| 2558 |
test expr-28.245 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2559 |
# Ad2b d UN -68985865317742005 E164 x -1a999ddec72ac9_11111111111111111111111111111111111111111111111111111111111110& E600 |
| 2560 |
convertToDouble -68985865317742005E164 |
| 2561 |
} 0xe57a999ddec72aca |
| 2562 |
test expr-28.246 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2563 |
# Ad2b d UN +27176258005319167 E-261 x 17c0747bd76fa0_11111111111111111111111111111111111111111111111111111111111111110& E-813 |
| 2564 |
convertToDouble +27176258005319167E-261 |
| 2565 |
} 0x0d27c0747bd76fa1 |
| 2566 |
test expr-28.247 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2567 |
# Ad2b d UN -73169230107256116 E-248 x -122cea327fa99c_1111111111111111111111111111111111111111111111111111111111110& E-768 |
| 2568 |
convertToDouble -73169230107256116E-248 |
| 2569 |
} 0x8ff22cea327fa99d |
| 2570 |
test expr-28.248 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2571 |
# Ad2b d UN +91461537634070145 E-249 x 122cea327fa99c_1111111111111111111111111111111111111111111111111111111111110& E-771 |
| 2572 |
convertToDouble +91461537634070145E-249 |
| 2573 |
} 0x0fc22cea327fa99d |
| 2574 |
test expr-28.249 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2575 |
# Ad2b d UN -54352516010638334 E-261 x -17c0747bd76fa0_11111111111111111111111111111111111111111111111111111111111111110& E-812 |
| 2576 |
convertToDouble -54352516010638334E-261 |
| 2577 |
} 0x8d37c0747bd76fa1 |
| 2578 |
test expr-28.250 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2579 |
# Ad2b d UN +586144289638535878 E280 x 11eccbd6f62709_0000000000000000000000000000000000000000000000000000000000000000001& E989 |
| 2580 |
convertToDouble +586144289638535878E280 |
| 2581 |
} 0x7dc1eccbd6f62709 |
| 2582 |
test expr-28.251 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2583 |
# Ad2b d UN -601117006785295431 E245 x -1e8b3525b3737e_000000000000000000000000000000000000000000000000000000000000000001& E872 |
| 2584 |
convertToDouble -601117006785295431E245 |
| 2585 |
} 0xf67e8b3525b3737e |
| 2586 |
test expr-28.252 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2587 |
# Ad2b d UN +293072144819267939 E280 x 11eccbd6f62709_0000000000000000000000000000000000000000000000000000000000000000001& E988 |
| 2588 |
convertToDouble +293072144819267939E280 |
| 2589 |
} 0x7db1eccbd6f62709 |
| 2590 |
test expr-28.253 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2591 |
# Ad2b d UN -953184713238516652 E272 x -138fd93f1f5342_00000000000000000000000000000000000000000000000000000000000000001& E963 |
| 2592 |
convertToDouble -953184713238516652E272 |
| 2593 |
} 0xfc238fd93f1f5342 |
| 2594 |
test expr-28.254 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2595 |
# Ad2b d UN +902042358290366539 E-281 x 122dc01ca1cb8c_0000000000000000000000000000000000000000000000000000000000000000001& E-874 |
| 2596 |
convertToDouble +902042358290366539E-281 |
| 2597 |
} 0x09522dc01ca1cb8c |
| 2598 |
test expr-28.255 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2599 |
# Ad2b d UN -557035730189854663 E-294 x -13bfac6bc4767b_00000000000000000000000000000000000000000000000000000000000000000001& E-918 |
| 2600 |
convertToDouble -557035730189854663E-294 |
| 2601 |
} 0x8693bfac6bc4767b |
| 2602 |
test expr-28.256 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2603 |
# Ad2b d UN +902042358290366539 E-280 x 16b93023ca3e6f_0000000000000000000000000000000000000000000000000000000000000000001& E-871 |
| 2604 |
convertToDouble +902042358290366539E-280 |
| 2605 |
} 0x0986b93023ca3e6f |
| 2606 |
test expr-28.257 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2607 |
# Ad2b d UN -354944100507554393 E-238 x -19a91cece6ad07_000000000000000000000000000000000000000000000000000000000000000001& E-733 |
| 2608 |
convertToDouble -354944100507554393E-238 |
| 2609 |
} 0x9229a91cece6ad07 |
| 2610 |
test expr-28.258 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2611 |
# Ad2b d UN +272104041512242479 E199 x 1f92bacb3cb40b_11111111111111111111111111111111111111111111111111111111111111111111110& E718 |
| 2612 |
convertToDouble +272104041512242479E199 |
| 2613 |
} 0x6cdf92bacb3cb40c |
| 2614 |
test expr-28.259 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2615 |
# Ad2b d UN -816312124536727437 E199 x -17ae0c186d8708_11111111111111111111111111111111111111111111111111111111111111111111110& E720 |
| 2616 |
convertToDouble -816312124536727437E199 |
| 2617 |
} 0xecf7ae0c186d8709 |
| 2618 |
test expr-28.260 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2619 |
# Ad2b d UN +544208083024484958 E199 x 1f92bacb3cb40b_11111111111111111111111111111111111111111111111111111111111111111111110& E719 |
| 2620 |
convertToDouble +544208083024484958E199 |
| 2621 |
} 0x6cef92bacb3cb40c |
| 2622 |
test expr-28.261 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2623 |
# Ad2b d UN -792644927852378159 E78 x -17bff336d8ff05_111111111111111111111111111111111111111111111111111111111111111111110& E318 |
| 2624 |
convertToDouble -792644927852378159E78 |
| 2625 |
} 0xd3d7bff336d8ff06 |
| 2626 |
test expr-28.262 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2627 |
# Ad2b d UN -679406450132979175 E-263 x -17c0747bd76fa0_11111111111111111111111111111111111111111111111111111111111111110& E-815 |
| 2628 |
convertToDouble -679406450132979175E-263 |
| 2629 |
} 0x8d07c0747bd76fa1 |
| 2630 |
test expr-28.263 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2631 |
# Ad2b d UN +543525160106383340 E-262 x 17c0747bd76fa0_11111111111111111111111111111111111111111111111111111111111111110& E-812 |
| 2632 |
convertToDouble +543525160106383340E-262 |
| 2633 |
} 0x0d37c0747bd76fa1 |
| 2634 |
test expr-28.264 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2635 |
# Ad2b d UN +7400253695682920196 E215 x 1dca94e3990085_00000000000000000000000000000000000000000000000000000000000000000000001& E776 |
| 2636 |
convertToDouble +7400253695682920196E215 |
| 2637 |
} 0x707dca94e3990085 |
| 2638 |
test expr-28.265 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2639 |
# Ad2b d UN -1850063423920730049 E215 x -1dca94e3990085_00000000000000000000000000000000000000000000000000000000000000000000001& E774 |
| 2640 |
convertToDouble -1850063423920730049E215 |
| 2641 |
} 0xf05dca94e3990085 |
| 2642 |
test expr-28.266 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2643 |
# Ad2b d UN +3700126847841460098 E215 x 1dca94e3990085_00000000000000000000000000000000000000000000000000000000000000000000001& E775 |
| 2644 |
convertToDouble +3700126847841460098E215 |
| 2645 |
} 0x706dca94e3990085 |
| 2646 |
test expr-28.267 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2647 |
# Ad2b d UN -9250317119603650245 E214 x -1dca94e3990085_00000000000000000000000000000000000000000000000000000000000000000000001& E773 |
| 2648 |
convertToDouble -9250317119603650245E214 |
| 2649 |
} 0xf04dca94e3990085 |
| 2650 |
test expr-28.268 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2651 |
# Ad2b d UN +8396094300569779681 E-252 x 1ab223efcee35a_0000000000000000000000000000000000000000000000000000000000000000000000001& E-775 |
| 2652 |
convertToDouble +8396094300569779681E-252 |
| 2653 |
} 0x0f8ab223efcee35a |
| 2654 |
test expr-28.269 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2655 |
# Ad2b d UN -3507665085003296281 E-75 x -160499b881ea50_00000000000000000000000000000000000000000000000000000000000000000000001& E-188 |
| 2656 |
convertToDouble -3507665085003296281E-75 |
| 2657 |
} 0xb4360499b881ea50 |
| 2658 |
test expr-28.270 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2659 |
# Ad2b d UN +7015330170006592562 E-75 x 160499b881ea50_00000000000000000000000000000000000000000000000000000000000000000000001& E-187 |
| 2660 |
convertToDouble +7015330170006592562E-75 |
| 2661 |
} 0x34460499b881ea50 |
| 2662 |
test expr-28.271 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2663 |
# Ad2b d UN -7015330170006592562 E-74 x -1b85c026a264e4_00000000000000000000000000000000000000000000000000000000000000000000001& E-184 |
| 2664 |
convertToDouble -7015330170006592562E-74 |
| 2665 |
} 0xb47b85c026a264e4 |
| 2666 |
test expr-28.272 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2667 |
# Ad2b d UN +7185620434951919351 E205 x 18d92d2bcc7a80_1111111111111111111111111111111111111111111111111111111111111111111111110& E743 |
| 2668 |
convertToDouble +7185620434951919351E205 |
| 2669 |
} 0x6e68d92d2bcc7a81 |
| 2670 |
test expr-28.273 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2671 |
# Ad2b d UN -1360520207561212395 E198 x -1f92bacb3cb40b_11111111111111111111111111111111111111111111111111111111111111111111110& E717 |
| 2672 |
convertToDouble -1360520207561212395E198 |
| 2673 |
} 0xeccf92bacb3cb40c |
| 2674 |
test expr-28.274 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2675 |
# Ad2b d UN +2178999185345151731 E-184 x 19b2c4d2a82335_1111111111111111111111111111111111111111111111111111111111111111111110& E-551 |
| 2676 |
convertToDouble +2178999185345151731E-184 |
| 2677 |
} 0x1d89b2c4d2a82336 |
| 2678 |
test expr-28.275 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2679 |
# Ad2b d UN -8691089486201567102 E-218 x -1a9c42e5b6d89e_1111111111111111111111111111111111111111111111111111111111111111111110& E-662 |
| 2680 |
convertToDouble -8691089486201567102E-218 |
| 2681 |
} 0x969a9c42e5b6d89f |
| 2682 |
test expr-28.276 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2683 |
# Ad2b d UN +4345544743100783551 E-218 x 1a9c42e5b6d89e_1111111111111111111111111111111111111111111111111111111111111111111110& E-663 |
| 2684 |
convertToDouble +4345544743100783551E-218 |
| 2685 |
} 0x168a9c42e5b6d89f |
| 2686 |
test expr-28.277 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2687 |
# Ad2b d UN -4357998370690303462 E-184 x -19b2c4d2a82335_1111111111111111111111111111111111111111111111111111111111111111111110& E-550 |
| 2688 |
convertToDouble -4357998370690303462E-184 |
| 2689 |
} 0x9d99b2c4d2a82336 |
| 2690 |
test expr-28.278 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2691 |
# Ad2b d UN +59825267349106892461 E177 x 199c476d7868df_000000000000000000000000000000000000000000000000000000000000000000000001& E653 |
| 2692 |
convertToDouble +59825267349106892461E177 |
| 2693 |
} 0x68c99c476d7868df |
| 2694 |
test expr-28.279 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2695 |
# Ad2b d UN -62259110684423957791 E47 x -1d8f2cfc20d6e8_0000000000000000000000000000000000000000000000000000000000000000000000001& E221 |
| 2696 |
convertToDouble -62259110684423957791E47 |
| 2697 |
} 0xcdcd8f2cfc20d6e8 |
| 2698 |
test expr-28.280 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2699 |
# Ad2b d UN +58380168477038565599 E265 x 1f686e9efbe48d_00000000000000000000000000000000000000000000000000000000000000000000000001& E945 |
| 2700 |
convertToDouble +58380168477038565599E265 |
| 2701 |
} 0x7b0f686e9efbe48d |
| 2702 |
test expr-28.281 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2703 |
# Ad2b d UN -62259110684423957791 E48 x -12797c1d948651_0000000000000000000000000000000000000000000000000000000000000000000000001& E225 |
| 2704 |
convertToDouble -62259110684423957791E48 |
| 2705 |
} 0xce02797c1d948651 |
| 2706 |
test expr-28.282 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2707 |
# Ad2b d UN -33584377202279118724 E-252 x -1ab223efcee35a_0000000000000000000000000000000000000000000000000000000000000000000000001& E-773 |
| 2708 |
convertToDouble -33584377202279118724E-252 |
| 2709 |
} 0x8faab223efcee35a |
| 2710 |
test expr-28.283 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2711 |
# Ad2b d UN -57484963479615354808 E205 x -18d92d2bcc7a80_1111111111111111111111111111111111111111111111111111111111111111111111110& E746 |
| 2712 |
convertToDouble -57484963479615354808E205 |
| 2713 |
} 0xee98d92d2bcc7a81 |
| 2714 |
test expr-28.284 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2715 |
# Ad2b d UN +71856204349519193510 E204 x 18d92d2bcc7a80_1111111111111111111111111111111111111111111111111111111111111111111111110& E743 |
| 2716 |
convertToDouble +71856204349519193510E204 |
| 2717 |
} 0x6e68d92d2bcc7a81 |
| 2718 |
test expr-28.285 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2719 |
# Ad2b d UN -14371240869903838702 E205 x -18d92d2bcc7a80_1111111111111111111111111111111111111111111111111111111111111111111111110& E744 |
| 2720 |
convertToDouble -14371240869903838702E205 |
| 2721 |
} 0xee78d92d2bcc7a81 |
| 2722 |
test expr-28.286 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2723 |
# Ad2b d UN +36992084760177624177 E-318 x 18c5f9551c2f99_111111111111111111111111111111111111111111111111111111111111111111111110& E-992 |
| 2724 |
convertToDouble +36992084760177624177E-318 |
| 2725 |
} 0x01f8c5f9551c2f9a |
| 2726 |
test expr-28.287 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2727 |
# Ad2b d UN -73984169520355248354 E-318 x -18c5f9551c2f99_111111111111111111111111111111111111111111111111111111111111111111111110& E-991 |
| 2728 |
convertToDouble -73984169520355248354E-318 |
| 2729 |
} 0x8208c5f9551c2f9a |
| 2730 |
test expr-28.288 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2731 |
# Ad2b d UN +99257763227713890244 E-115 x 15338a554b9ce0_11111111111111111111111111111111111111111111111111111111111111111111110& E-316 |
| 2732 |
convertToDouble +99257763227713890244E-115 |
| 2733 |
} 0x2c35338a554b9ce1 |
| 2734 |
test expr-28.289 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2735 |
# Ad2b d UN -87336362425182547697 E-280 x -1130304e7d9c32_11111111111111111111111111111111111111111111111111111111111111111111110& E-864 |
| 2736 |
convertToDouble -87336362425182547697E-280 |
| 2737 |
} 0x89f130304e7d9c33 |
| 2738 |
test expr-28.290 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2739 |
# Ad2b d UN +7 E289 x 1cbb547777a284_10000000001& E962 |
| 2740 |
convertToDouble +7E289 |
| 2741 |
} 0x7c1cbb547777a285 |
| 2742 |
test expr-28.291 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2743 |
# Ad2b d UN -3 E153 x -1ca3d8e6d80cba_100000001& E509 |
| 2744 |
convertToDouble -3E153 |
| 2745 |
} 0xdfcca3d8e6d80cbb |
| 2746 |
test expr-28.292 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2747 |
# Ad2b d UN +6 E153 x 1ca3d8e6d80cba_100000001& E510 |
| 2748 |
convertToDouble +6E153 |
| 2749 |
} 0x5fdca3d8e6d80cbb |
| 2750 |
test expr-28.293 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2751 |
# Ad2b d UN -5 E243 x -176ec98994f488_10000001& E809 |
| 2752 |
convertToDouble -5E243 |
| 2753 |
} 0xf2876ec98994f489 |
| 2754 |
test expr-28.294 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2755 |
# Ad2b d UN +7 E-161 x 1f7e0db3799aa2_10000000001& E-533 |
| 2756 |
convertToDouble +7E-161 |
| 2757 |
} 0x1eaf7e0db3799aa3 |
| 2758 |
test expr-28.295 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2759 |
# Ad2b d UN -7 E-172 x -15a4337446ef2a_1000000001& E-569 |
| 2760 |
convertToDouble -7E-172 |
| 2761 |
} 0x9c65a4337446ef2b |
| 2762 |
test expr-28.296 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2763 |
# Ad2b d UN +8 E-63 x 1a53fc9631d10c_10000001& E-207 |
| 2764 |
convertToDouble +8E-63 |
| 2765 |
} 0x330a53fc9631d10d |
| 2766 |
test expr-28.297 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2767 |
# Ad2b d UN -7 E-113 x -158c47e6eea282_10000001& E-373 |
| 2768 |
convertToDouble -7E-113 |
| 2769 |
} 0xa8a58c47e6eea283 |
| 2770 |
test expr-28.298 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2771 |
# Ad2b d UN +8 E126 x 17a2ecc414a03f_0111111111110& E421 |
| 2772 |
convertToDouble +8E126 |
| 2773 |
} 0x5a47a2ecc414a03f |
| 2774 |
test expr-28.299 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2775 |
# Ad2b d UN -4 E126 x -17a2ecc414a03f_0111111111110& E420 |
| 2776 |
convertToDouble -4E126 |
| 2777 |
} 0xda37a2ecc414a03f |
| 2778 |
test expr-28.300 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2779 |
# Ad2b d UN +5 E125 x 17a2ecc414a03f_0111111111110& E417 |
| 2780 |
convertToDouble +5E125 |
| 2781 |
} 0x5a07a2ecc414a03f |
| 2782 |
test expr-28.301 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2783 |
# Ad2b d UN -1 E126 x -17a2ecc414a03f_0111111111110& E418 |
| 2784 |
convertToDouble -1E126 |
| 2785 |
} 0xda17a2ecc414a03f |
| 2786 |
test expr-28.302 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2787 |
# Ad2b d UN +8 E-163 x 1708d0f84d3de7_011111110& E-539 |
| 2788 |
convertToDouble +8E-163 |
| 2789 |
} 0x1e4708d0f84d3de7 |
| 2790 |
test expr-28.303 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2791 |
# Ad2b d UN -1 E-163 x -1708d0f84d3de7_011111110& E-542 |
| 2792 |
convertToDouble -1E-163 |
| 2793 |
} 0x9e1708d0f84d3de7 |
| 2794 |
test expr-28.304 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2795 |
# Ad2b d UN +2 E-163 x 1708d0f84d3de7_011111110& E-541 |
| 2796 |
convertToDouble +2E-163 |
| 2797 |
} 0x1e2708d0f84d3de7 |
| 2798 |
test expr-28.305 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2799 |
# Ad2b d UN -4 E-163 x -1708d0f84d3de7_011111110& E-540 |
| 2800 |
convertToDouble -4E-163 |
| 2801 |
} 0x9e3708d0f84d3de7 |
| 2802 |
test expr-28.306 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2803 |
# Ad2b d UN +51 E195 x 15d51d249dca42_1000000000001& E653 |
| 2804 |
convertToDouble +51E195 |
| 2805 |
} 0x68c5d51d249dca43 |
| 2806 |
test expr-28.307 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2807 |
# Ad2b d UN -37 E46 x -1033d7eca0adee_100000000000001& E158 |
| 2808 |
convertToDouble -37E46 |
| 2809 |
} 0xc9d033d7eca0adef |
| 2810 |
test expr-28.308 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2811 |
# Ad2b d UN +74 E46 x 1033d7eca0adee_100000000000001& E159 |
| 2812 |
convertToDouble +74E46 |
| 2813 |
} 0x49e033d7eca0adef |
| 2814 |
test expr-28.309 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2815 |
# Ad2b d UN -56 E289 x -1cbb547777a284_10000000001& E965 |
| 2816 |
convertToDouble -56E289 |
| 2817 |
} 0xfc4cbb547777a285 |
| 2818 |
test expr-28.310 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2819 |
# Ad2b d UN +69 E-145 x 158a41b31c9a9a_100000000001& E-476 |
| 2820 |
convertToDouble +69E-145 |
| 2821 |
} 0x22358a41b31c9a9b |
| 2822 |
test expr-28.311 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2823 |
# Ad2b d UN -70 E-162 x -1f7e0db3799aa2_10000000001& E-533 |
| 2824 |
convertToDouble -70E-162 |
| 2825 |
} 0x9eaf7e0db3799aa3 |
| 2826 |
test expr-28.312 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2827 |
# Ad2b d UN +56 E-161 x 1f7e0db3799aa2_10000000001& E-530 |
| 2828 |
convertToDouble +56E-161 |
| 2829 |
} 0x1edf7e0db3799aa3 |
| 2830 |
test expr-28.313 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2831 |
# Ad2b d UN -21 E-303 x -1ccd59caa6a750_10000000001& E-1003 |
| 2832 |
convertToDouble -21E-303 |
| 2833 |
} 0x814ccd59caa6a751 |
| 2834 |
test expr-28.314 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2835 |
# Ad2b d UN +34 E-276 x 12d5a4350d30ff_011111111110& E-912 |
| 2836 |
convertToDouble +34E-276 |
| 2837 |
} 0x06f2d5a4350d30ff |
| 2838 |
test expr-28.315 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2839 |
# Ad2b d UN -68 E-276 x -12d5a4350d30ff_011111111110& E-911 |
| 2840 |
convertToDouble -68E-276 |
| 2841 |
} 0x8702d5a4350d30ff |
| 2842 |
test expr-28.316 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2843 |
# Ad2b d UN +85 E-277 x 12d5a4350d30ff_011111111110& E-914 |
| 2844 |
convertToDouble +85E-277 |
| 2845 |
} 0x06d2d5a4350d30ff |
| 2846 |
test expr-28.317 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2847 |
# Ad2b d UN -87 E-274 x -12d36cf48e7abd_011111111111110& E-904 |
| 2848 |
convertToDouble -87E-274 |
| 2849 |
} 0x8772d36cf48e7abd |
| 2850 |
test expr-28.318 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2851 |
# Ad2b d UN +829 E102 x 17221a79cdd1d8_1000000000000001& E348 |
| 2852 |
convertToDouble +829E102 |
| 2853 |
} 0x55b7221a79cdd1d9 |
| 2854 |
test expr-28.319 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2855 |
# Ad2b d UN -623 E100 x -1640a62f3a83de_10000000000000000001& E341 |
| 2856 |
convertToDouble -623E100 |
| 2857 |
} 0xd54640a62f3a83df |
| 2858 |
test expr-28.320 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2859 |
# Ad2b d UN +723 E-162 x 145457ee24abd2_1000000000000001& E-529 |
| 2860 |
convertToDouble +723E-162 |
| 2861 |
} 0x1ee45457ee24abd3 |
| 2862 |
test expr-28.321 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2863 |
# Ad2b d UN -457 E-102 x -1ffc81bc29f02a_100000000000000001& E-331 |
| 2864 |
convertToDouble -457E-102 |
| 2865 |
} 0xab4ffc81bc29f02b |
| 2866 |
test expr-28.322 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2867 |
# Ad2b d UN +914 E-102 x 1ffc81bc29f02a_100000000000000001& E-330 |
| 2868 |
convertToDouble +914E-102 |
| 2869 |
} 0x2b5ffc81bc29f02b |
| 2870 |
test expr-28.323 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2871 |
# Ad2b d UN -323 E-135 x -1d589ae4d70218_10000000000001& E-441 |
| 2872 |
convertToDouble -323E-135 |
| 2873 |
} 0xa46d589ae4d70219 |
| 2874 |
test expr-28.324 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2875 |
# Ad2b d UN +151 E176 x 1dcf7df8f573b7_0111111111111111110& E591 |
| 2876 |
convertToDouble +151E176 |
| 2877 |
} 0x64edcf7df8f573b7 |
| 2878 |
test expr-28.325 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2879 |
# Ad2b d UN -302 E176 x -1dcf7df8f573b7_0111111111111111110& E592 |
| 2880 |
convertToDouble -302E176 |
| 2881 |
} 0xe4fdcf7df8f573b7 |
| 2882 |
test expr-28.326 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2883 |
# Ad2b d UN +921 E90 x 1c420a45fd70ff_0111111111111110& E308 |
| 2884 |
convertToDouble +921E90 |
| 2885 |
} 0x533c420a45fd70ff |
| 2886 |
test expr-28.327 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2887 |
# Ad2b d UN -604 E176 x -1dcf7df8f573b7_0111111111111111110& E593 |
| 2888 |
convertToDouble -604E176 |
| 2889 |
} 0xe50dcf7df8f573b7 |
| 2890 |
test expr-28.328 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2891 |
# Ad2b d UN +823 E-206 x 14a48933c208ad_0111111111111110& E-675 |
| 2892 |
convertToDouble +823E-206 |
| 2893 |
} 0x15c4a48933c208ad |
| 2894 |
test expr-28.329 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2895 |
# Ad2b d UN -463 E-114 x -11d0c83f6378a5_011111111111110& E-370 |
| 2896 |
convertToDouble -463E-114 |
| 2897 |
} 0xa8d1d0c83f6378a5 |
| 2898 |
test expr-28.330 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2899 |
# Ad2b d UN +348 E-274 x 12d36cf48e7abd_011111111111110& E-902 |
| 2900 |
convertToDouble +348E-274 |
| 2901 |
} 0x0792d36cf48e7abd |
| 2902 |
test expr-28.331 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2903 |
# Ad2b d UN +9968 E100 x 1640a62f3a83de_10000000000000000001& E345 |
| 2904 |
convertToDouble +9968E100 |
| 2905 |
} 0x558640a62f3a83df |
| 2906 |
test expr-28.332 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2907 |
# Ad2b d UN -6230 E99 x -1640a62f3a83de_10000000000000000001& E341 |
| 2908 |
convertToDouble -6230E99 |
| 2909 |
} 0xd54640a62f3a83df |
| 2910 |
test expr-28.333 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2911 |
# Ad2b d UN +1246 E100 x 1640a62f3a83de_10000000000000000001& E342 |
| 2912 |
convertToDouble +1246E100 |
| 2913 |
} 0x555640a62f3a83df |
| 2914 |
test expr-28.334 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2915 |
# Ad2b d UN +6676 E-296 x 15519ac5142aaa_1000000000000000000001& E-971 |
| 2916 |
convertToDouble +6676E-296 |
| 2917 |
} 0x0345519ac5142aab |
| 2918 |
test expr-28.335 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2919 |
# Ad2b d UN -8345 E-297 x -15519ac5142aaa_1000000000000000000001& E-974 |
| 2920 |
convertToDouble -8345E-297 |
| 2921 |
} 0x8315519ac5142aab |
| 2922 |
test expr-28.336 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2923 |
# Ad2b d UN +1669 E-296 x 15519ac5142aaa_1000000000000000000001& E-973 |
| 2924 |
convertToDouble +1669E-296 |
| 2925 |
} 0x0325519ac5142aab |
| 2926 |
test expr-28.337 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2927 |
# Ad2b d UN -3338 E-296 x -15519ac5142aaa_1000000000000000000001& E-972 |
| 2928 |
convertToDouble -3338E-296 |
| 2929 |
} 0x8335519ac5142aab |
| 2930 |
test expr-28.338 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2931 |
# Ad2b d UN +3257 E58 x 1444b34a6fb3eb_01111111111111111110& E204 |
| 2932 |
convertToDouble +3257E58 |
| 2933 |
} 0x4cb444b34a6fb3eb |
| 2934 |
test expr-28.339 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2935 |
# Ad2b d UN -6514 E58 x -1444b34a6fb3eb_01111111111111111110& E205 |
| 2936 |
convertToDouble -6514E58 |
| 2937 |
} 0xccc444b34a6fb3eb |
| 2938 |
test expr-28.340 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2939 |
# Ad2b d UN +2416 E176 x 1dcf7df8f573b7_0111111111111111110& E595 |
| 2940 |
convertToDouble +2416E176 |
| 2941 |
} 0x652dcf7df8f573b7 |
| 2942 |
test expr-28.341 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2943 |
# Ad2b d UN +8085 E-63 x 19fbf3c19b9a79_0111111111111111110& E-197 |
| 2944 |
convertToDouble +8085E-63 |
| 2945 |
} 0x33a9fbf3c19b9a79 |
| 2946 |
test expr-28.342 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2947 |
# Ad2b d UN -3234 E-62 x -19fbf3c19b9a79_0111111111111111110& E-195 |
| 2948 |
convertToDouble -3234E-62 |
| 2949 |
} 0xb3c9fbf3c19b9a79 |
| 2950 |
test expr-28.343 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2951 |
# Ad2b d UN +1617 E-62 x 19fbf3c19b9a79_0111111111111111110& E-196 |
| 2952 |
convertToDouble +1617E-62 |
| 2953 |
} 0x33b9fbf3c19b9a79 |
| 2954 |
test expr-28.344 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2955 |
# Ad2b d UN -6468 E-62 x -19fbf3c19b9a79_0111111111111111110& E-194 |
| 2956 |
convertToDouble -6468E-62 |
| 2957 |
} 0xb3d9fbf3c19b9a79 |
| 2958 |
test expr-28.345 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2959 |
# Ad2b d UN +53418 E111 x 15b1051df943a8_1000000000000000000001& E384 |
| 2960 |
convertToDouble +53418E111 |
| 2961 |
} 0x57f5b1051df943a9 |
| 2962 |
test expr-28.346 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2963 |
# Ad2b d UN -60513 E160 x -15043b64e56c72_1000000000000000000001& E547 |
| 2964 |
convertToDouble -60513E160 |
| 2965 |
} 0xe225043b64e56c73 |
| 2966 |
test expr-28.347 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2967 |
# Ad2b d UN +26709 E111 x 15b1051df943a8_1000000000000000000001& E383 |
| 2968 |
convertToDouble +26709E111 |
| 2969 |
} 0x57e5b1051df943a9 |
| 2970 |
test expr-28.348 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2971 |
# Ad2b d UN -99447 E166 x -10782189b336ae_1000000000000000000001& E568 |
| 2972 |
convertToDouble -99447E166 |
| 2973 |
} 0xe370782189b336af |
| 2974 |
test expr-28.349 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2975 |
# Ad2b d UN +12549 E48 x 10c52fe6dc6a1b_011111111111111111111110& E173 |
| 2976 |
convertToDouble +12549E48 |
| 2977 |
} 0x4ac0c52fe6dc6a1b |
| 2978 |
test expr-28.350 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2979 |
# Ad2b d UN -25098 E48 x -10c52fe6dc6a1b_011111111111111111111110& E174 |
| 2980 |
convertToDouble -25098E48 |
| 2981 |
} 0xcad0c52fe6dc6a1b |
| 2982 |
test expr-28.351 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2983 |
# Ad2b d UN +50196 E48 x 10c52fe6dc6a1b_011111111111111111111110& E175 |
| 2984 |
convertToDouble +50196E48 |
| 2985 |
} 0x4ae0c52fe6dc6a1b |
| 2986 |
test expr-28.352 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2987 |
# Ad2b d UN -62745 E47 x -10c52fe6dc6a1b_011111111111111111111110& E172 |
| 2988 |
convertToDouble -62745E47 |
| 2989 |
} 0xcab0c52fe6dc6a1b |
| 2990 |
test expr-28.353 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2991 |
# Ad2b d UN +83771 E-73 x 1ce886fb5ffd6d_0111111111111111111110& E-227 |
| 2992 |
convertToDouble +83771E-73 |
| 2993 |
} 0x31cce886fb5ffd6d |
| 2994 |
test expr-28.354 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2995 |
# Ad2b d UN -97451 E-167 x -1c0f220fb1c70d_01111111111111111111110& E-539 |
| 2996 |
convertToDouble -97451E-167 |
| 2997 |
} 0x9e4c0f220fb1c70d |
| 2998 |
test expr-28.355 {input floating-point conversion} {ieeeFloatingPoint} { |
| 2999 |
# Ad2b d UN +86637 E-203 x 10943edb4e81db_0111111111111111111110& E-658 |
| 3000 |
convertToDouble +86637E-203 |
| 3001 |
} 0x16d0943edb4e81db |
| 3002 |
test expr-28.356 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3003 |
# Ad2b d UN -75569 E-254 x -15a462d91c6ab3_0111111111111111111111111110& E-828 |
| 3004 |
convertToDouble -75569E-254 |
| 3005 |
} 0x8c35a462d91c6ab3 |
| 3006 |
test expr-28.357 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3007 |
# Ad2b d UN +473806 E83 x 17d15bf3186080_1000000000000000000000001& E294 |
| 3008 |
convertToDouble +473806E83 |
| 3009 |
} 0x5257d15bf3186081 |
| 3010 |
test expr-28.358 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3011 |
# Ad2b d UN -947612 E83 x -17d15bf3186080_1000000000000000000000001& E295 |
| 3012 |
convertToDouble -947612E83 |
| 3013 |
} 0xd267d15bf3186081 |
| 3014 |
test expr-28.359 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3015 |
# Ad2b d UN +292369 E76 x 18a85eb277e644_100000000000000000000000001& E270 |
| 3016 |
convertToDouble +292369E76 |
| 3017 |
} 0x50d8a85eb277e645 |
| 3018 |
test expr-28.360 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3019 |
# Ad2b d UN -584738 E76 x -18a85eb277e644_100000000000000000000000001& E271 |
| 3020 |
convertToDouble -584738E76 |
| 3021 |
} 0xd0e8a85eb277e645 |
| 3022 |
test expr-28.361 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3023 |
# Ad2b d UN +933587 E-140 x 1b248728b9c116_100000000000000000000000001& E-446 |
| 3024 |
convertToDouble +933587E-140 |
| 3025 |
} 0x241b248728b9c117 |
| 3026 |
test expr-28.362 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3027 |
# Ad2b dieee UN -720919 E-14 x -1ef696965cbf04_10000000000000000000000001& E-28 |
| 3028 |
convertToDouble -720919E-14 |
| 3029 |
} 0xbe3ef696965cbf05 |
| 3030 |
test expr-28.363 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3031 |
# Ad2b d UN +535001 E-149 x 10b38e07c745ae_1000000000000000000000001& E-476 |
| 3032 |
convertToDouble +535001E-149 |
| 3033 |
} 0x2230b38e07c745af |
| 3034 |
test expr-28.364 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3035 |
# Ad2b d UN -890521 E-235 x -114828ee39c852_1000000000000000000000001& E-761 |
| 3036 |
convertToDouble -890521E-235 |
| 3037 |
} 0x90614828ee39c853 |
| 3038 |
test expr-28.365 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3039 |
# Ad2b d UN +548057 E81 x 11a1d9135cca53_0111111111111111111111110& E288 |
| 3040 |
convertToDouble +548057E81 |
| 3041 |
} 0x51f1a1d9135cca53 |
| 3042 |
test expr-28.366 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3043 |
# Ad2b d UN -706181 E88 x -1b156ac4c2d1e5_0111111111111111111111110& E311 |
| 3044 |
convertToDouble -706181E88 |
| 3045 |
} 0xd36b156ac4c2d1e5 |
| 3046 |
test expr-28.367 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3047 |
# Ad2b d UN +820997 E106 x 1b4f8b64fa125d_0111111111111111111111110& E371 |
| 3048 |
convertToDouble +820997E106 |
| 3049 |
} 0x572b4f8b64fa125d |
| 3050 |
test expr-28.368 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3051 |
# Ad2b d UN -320681 E63 x -17ca18a876c5ef_0111111111111111111111110& E227 |
| 3052 |
convertToDouble -320681E63 |
| 3053 |
} 0xce27ca18a876c5ef |
| 3054 |
test expr-28.369 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3055 |
# Ad2b d UN +928609 E-261 x 1be2dd66200bef_011111111111111111111111111110& E-848 |
| 3056 |
convertToDouble +928609E-261 |
| 3057 |
} 0x0afbe2dd66200bef |
| 3058 |
test expr-28.370 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3059 |
# Ad2b d UN -302276 E-254 x -15a462d91c6ab3_0111111111111111111111111110& E-826 |
| 3060 |
convertToDouble -302276E-254 |
| 3061 |
} 0x8c55a462d91c6ab3 |
| 3062 |
test expr-28.371 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3063 |
# Ad2b d UN +151138 E-254 x 15a462d91c6ab3_0111111111111111111111111110& E-827 |
| 3064 |
convertToDouble +151138E-254 |
| 3065 |
} 0x0c45a462d91c6ab3 |
| 3066 |
test expr-28.372 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3067 |
# Ad2b d UN +4691773 E45 x 19147b9330eaae_1000000000000000000000000001& E171 |
| 3068 |
convertToDouble +4691773E45 |
| 3069 |
} 0x4aa9147b9330eaaf |
| 3070 |
test expr-28.373 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3071 |
# Ad2b d UN -9383546 E45 x -19147b9330eaae_1000000000000000000000000001& E172 |
| 3072 |
convertToDouble -9383546E45 |
| 3073 |
} 0xcab9147b9330eaaf |
| 3074 |
test expr-28.374 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3075 |
# Ad2b d UN +3059949 E-243 x 13ecf22ea07862_10000000000000000000000000001& E-786 |
| 3076 |
convertToDouble +3059949E-243 |
| 3077 |
} 0x0ed3ecf22ea07863 |
| 3078 |
test expr-28.375 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3079 |
# Ad2b d UN -6119898 E-243 x -13ecf22ea07862_10000000000000000000000000001& E-785 |
| 3080 |
convertToDouble -6119898E-243 |
| 3081 |
} 0x8ee3ecf22ea07863 |
| 3082 |
test expr-28.376 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3083 |
# Ad2b d UN +5356626 E-213 x 1b84252abdf6ba_100000000000000000000000001& E-686 |
| 3084 |
convertToDouble +5356626E-213 |
| 3085 |
} 0x151b84252abdf6bb |
| 3086 |
test expr-28.377 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3087 |
# Ad2b d UN -4877378 E-199 x -11cd5cd90cb200_100000000000000000000000001& E-639 |
| 3088 |
convertToDouble -4877378E-199 |
| 3089 |
} 0x9801cd5cd90cb201 |
| 3090 |
test expr-28.378 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3091 |
# Ad2b d UN +7716693 E223 x 1972d9d2cff683_01111111111111111111111111110& E763 |
| 3092 |
convertToDouble +7716693E223 |
| 3093 |
} 0x6fa972d9d2cff683 |
| 3094 |
test expr-28.379 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3095 |
# Ad2b d UN -5452869 E109 x -16247b136fecc3_01111111111111111111111111110& E384 |
| 3096 |
convertToDouble -5452869E109 |
| 3097 |
} 0xd7f6247b136fecc3 |
| 3098 |
test expr-28.380 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3099 |
# Ad2b d UN +4590831 E156 x 14689b4a5fa201_011111111111111111111111111110& E540 |
| 3100 |
convertToDouble +4590831E156 |
| 3101 |
} 0x61b4689b4a5fa201 |
| 3102 |
test expr-28.381 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3103 |
# Ad2b d UN -9181662 E156 x -14689b4a5fa201_011111111111111111111111111110& E541 |
| 3104 |
convertToDouble -9181662E156 |
| 3105 |
} 0xe1c4689b4a5fa201 |
| 3106 |
test expr-28.382 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3107 |
# Ad2b d UN -3714436 E-261 x -1be2dd66200bef_011111111111111111111111111110& E-846 |
| 3108 |
convertToDouble -3714436E-261 |
| 3109 |
} 0x8b1be2dd66200bef |
| 3110 |
test expr-28.383 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3111 |
# Ad2b d UN +4643045 E-262 x 1be2dd66200bef_011111111111111111111111111110& E-849 |
| 3112 |
convertToDouble +4643045E-262 |
| 3113 |
} 0x0aebe2dd66200bef |
| 3114 |
test expr-28.384 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3115 |
# Ad2b d UN -7428872 E-261 x -1be2dd66200bef_011111111111111111111111111110& E-845 |
| 3116 |
convertToDouble -7428872E-261 |
| 3117 |
} 0x8b2be2dd66200bef |
| 3118 |
test expr-28.385 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3119 |
# Ad2b d UN +52942146 E130 x 16c31d08af89c2_10000000000000000000000000000001& E457 |
| 3120 |
convertToDouble +52942146E130 |
| 3121 |
} 0x5c86c31d08af89c3 |
| 3122 |
test expr-28.386 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3123 |
# Ad2b d UN -27966061 E145 x -155bcf72fd10f8_1000000000000000000000000000000001& E506 |
| 3124 |
convertToDouble -27966061E145 |
| 3125 |
} 0xdf955bcf72fd10f9 |
| 3126 |
test expr-28.387 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3127 |
# Ad2b d UN +26471073 E130 x 16c31d08af89c2_10000000000000000000000000000001& E456 |
| 3128 |
convertToDouble +26471073E130 |
| 3129 |
} 0x5c76c31d08af89c3 |
| 3130 |
test expr-28.388 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3131 |
# Ad2b d UN -55932122 E145 x -155bcf72fd10f8_1000000000000000000000000000000001& E507 |
| 3132 |
convertToDouble -55932122E145 |
| 3133 |
} 0xdfa55bcf72fd10f9 |
| 3134 |
test expr-28.389 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3135 |
# Ad2b d UN +95412548 E-99 x 18e0bfb98864c8_100000000000000000000000000000001& E-303 |
| 3136 |
convertToDouble +95412548E-99 |
| 3137 |
} 0x2d08e0bfb98864c9 |
| 3138 |
test expr-28.390 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3139 |
# Ad2b d UN -47706274 E-99 x -18e0bfb98864c8_100000000000000000000000000000001& E-304 |
| 3140 |
convertToDouble -47706274E-99 |
| 3141 |
} 0xacf8e0bfb98864c9 |
| 3142 |
test expr-28.391 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3143 |
# Ad2b d UN +23853137 E-99 x 18e0bfb98864c8_100000000000000000000000000000001& E-305 |
| 3144 |
convertToDouble +23853137E-99 |
| 3145 |
} 0x2ce8e0bfb98864c9 |
| 3146 |
test expr-28.392 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3147 |
# Ad2b d UN -78493654 E-301 x -140d76077b648e_10000000000000000000000000000001& E-974 |
| 3148 |
convertToDouble -78493654E-301 |
| 3149 |
} 0x83140d76077b648f |
| 3150 |
test expr-28.393 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3151 |
# Ad2b d UN +65346417 E29 x 13aa1ad778f23b_0111111111111111111111111111110& E122 |
| 3152 |
convertToDouble +65346417E29 |
| 3153 |
} 0x4793aa1ad778f23b |
| 3154 |
test expr-28.394 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3155 |
# Ad2b d UN -51083099 E167 x -14a75eb58df47b_0111111111111111111111111111110& E580 |
| 3156 |
convertToDouble -51083099E167 |
| 3157 |
} 0xe434a75eb58df47b |
| 3158 |
test expr-28.395 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3159 |
# Ad2b d UN +89396333 E264 x 1526f061ca9053_0111111111111111111111111111111110& E903 |
| 3160 |
convertToDouble +89396333E264 |
| 3161 |
} 0x786526f061ca9053 |
| 3162 |
test expr-28.396 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3163 |
# Ad2b d UN -84863171 E114 x -106e98f5ec8f37_0111111111111111111111111111111110& E405 |
| 3164 |
convertToDouble -84863171E114 |
| 3165 |
} 0xd9406e98f5ec8f37 |
| 3166 |
test expr-28.397 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3167 |
# Ad2b d UN +59540836 E-251 x 10430c2d075c07_011111111111111111111111111111110& E-808 |
| 3168 |
convertToDouble +59540836E-251 |
| 3169 |
} 0x0d70430c2d075c07 |
| 3170 |
test expr-28.398 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3171 |
# Ad2b d UN -74426045 E-252 x -10430c2d075c07_011111111111111111111111111111110& E-811 |
| 3172 |
convertToDouble -74426045E-252 |
| 3173 |
} 0x8d40430c2d075c07 |
| 3174 |
test expr-28.399 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3175 |
# Ad2b d UN +14885209 E-251 x 10430c2d075c07_011111111111111111111111111111110& E-810 |
| 3176 |
convertToDouble +14885209E-251 |
| 3177 |
} 0x0d50430c2d075c07 |
| 3178 |
test expr-28.400 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3179 |
# Ad2b d UN -29770418 E-251 x -10430c2d075c07_011111111111111111111111111111110& E-809 |
| 3180 |
convertToDouble -29770418E-251 |
| 3181 |
} 0x8d60430c2d075c07 |
| 3182 |
test expr-28.401 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3183 |
# Ad2b d UN +982161308 E122 x 11b6231e18c5ca_100000000000000000000000000000000000000001& E435 |
| 3184 |
convertToDouble +982161308E122 |
| 3185 |
} 0x5b21b6231e18c5cb |
| 3186 |
test expr-28.402 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3187 |
# Ad2b d UN -245540327 E122 x -11b6231e18c5ca_100000000000000000000000000000000000000001& E433 |
| 3188 |
convertToDouble -245540327E122 |
| 3189 |
} 0xdb01b6231e18c5cb |
| 3190 |
test expr-28.403 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3191 |
# Ad2b d UN +491080654 E122 x 11b6231e18c5ca_100000000000000000000000000000000000000001& E434 |
| 3192 |
convertToDouble +491080654E122 |
| 3193 |
} 0x5b11b6231e18c5cb |
| 3194 |
test expr-28.404 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3195 |
# Ad2b d UN +525452622 E-310 x 12045136ce0340_1000000000000000000000000000000000001& E-1001 |
| 3196 |
convertToDouble +525452622E-310 |
| 3197 |
} 0x0162045136ce0341 |
| 3198 |
test expr-28.405 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3199 |
# Ad2b d UN -771837113 E-134 x -14e61f991c4ed0_100000000000000000000000000000000001& E-416 |
| 3200 |
convertToDouble -771837113E-134 |
| 3201 |
} 0xa5f4e61f991c4ed1 |
| 3202 |
test expr-28.406 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3203 |
# Ad2b d UN +820858081 E-150 x 14050669985a86_10000000000000000000000000000000001& E-469 |
| 3204 |
convertToDouble +820858081E-150 |
| 3205 |
} 0x22a4050669985a87 |
| 3206 |
test expr-28.407 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3207 |
# Ad2b d UN -262726311 E-310 x -12045136ce0340_1000000000000000000000000000000000001& E-1002 |
| 3208 |
convertToDouble -262726311E-310 |
| 3209 |
} 0x8152045136ce0341 |
| 3210 |
test expr-28.408 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3211 |
# Ad2b d UN +923091487 E209 x 10bc60e6896717_011111111111111111111111111111111110& E724 |
| 3212 |
convertToDouble +923091487E209 |
| 3213 |
} 0x6d30bc60e6896717 |
| 3214 |
test expr-28.409 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3215 |
# Ad2b d UN -653777767 E273 x -120223f2b3a881_0111111111111111111111111111111111111110& E936 |
| 3216 |
convertToDouble -653777767E273 |
| 3217 |
} 0xfa720223f2b3a881 |
| 3218 |
test expr-28.410 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3219 |
# Ad2b d UN +842116236 E-53 x 1809c5732cdc7f_0111111111111111111111111111111110& E-147 |
| 3220 |
convertToDouble +842116236E-53 |
| 3221 |
} 0x36c809c5732cdc7f |
| 3222 |
test expr-28.411 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3223 |
# Ad2b d UN -741111169 E-202 x -15a3e1d1b73099_01111111111111111111111111111111110& E-642 |
| 3224 |
convertToDouble -741111169E-202 |
| 3225 |
} 0x97d5a3e1d1b73099 |
| 3226 |
test expr-28.412 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3227 |
# Ad2b d UN +839507247 E-284 x 129a1effc50859_0111111111111111111111111111111110& E-914 |
| 3228 |
convertToDouble +839507247E-284 |
| 3229 |
} 0x06d29a1effc50859 |
| 3230 |
test expr-28.413 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3231 |
# Ad2b d UN -951487269 E-264 x -1c92befccb5f59_0111111111111111111111111111111110& E-848 |
| 3232 |
convertToDouble -951487269E-264 |
| 3233 |
} 0x8afc92befccb5f59 |
| 3234 |
test expr-28.414 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3235 |
# Ad2b d UN -9821613080 E121 x -11b6231e18c5ca_100000000000000000000000000000000000000001& E435 |
| 3236 |
convertToDouble -9821613080E121 |
| 3237 |
} 0xdb21b6231e18c5cb |
| 3238 |
test expr-28.415 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3239 |
# Ad2b d UN +6677856011 E-31 x 193a6d11077292_100000000000000000000000000000000000001& E-71 |
| 3240 |
convertToDouble +6677856011E-31 |
| 3241 |
} 0x3b893a6d11077293 |
| 3242 |
test expr-28.416 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3243 |
# Ad2b d UN -3573796826 E-266 x -112be2041a79fc_100000000000000000000000000000000000001& E-852 |
| 3244 |
convertToDouble -3573796826E-266 |
| 3245 |
} 0x8ab12be2041a79fd |
| 3246 |
test expr-28.417 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3247 |
# Ad2b d UN +7147593652 E-266 x 112be2041a79fc_100000000000000000000000000000000000001& E-851 |
| 3248 |
convertToDouble +7147593652E-266 |
| 3249 |
} 0x0ac12be2041a79fd |
| 3250 |
test expr-28.418 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3251 |
# Ad2b d UN -9981396317 E-181 x -1edbd94cb50054_100000000000000000000000000000000000001& E-569 |
| 3252 |
convertToDouble -9981396317E-181 |
| 3253 |
} 0x9c6edbd94cb50055 |
| 3254 |
test expr-28.419 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3255 |
# Ad2b d UN +3268888835 E272 x 120223f2b3a881_0111111111111111111111111111111111111110& E935 |
| 3256 |
convertToDouble +3268888835E272 |
| 3257 |
} 0x7a620223f2b3a881 |
| 3258 |
test expr-28.420 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3259 |
# Ad2b d UN -2615111068 E273 x -120223f2b3a881_0111111111111111111111111111111111111110& E938 |
| 3260 |
convertToDouble -2615111068E273 |
| 3261 |
} 0xfa920223f2b3a881 |
| 3262 |
test expr-28.421 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3263 |
# Ad2b d UN +1307555534 E273 x 120223f2b3a881_0111111111111111111111111111111111111110& E937 |
| 3264 |
convertToDouble +1307555534E273 |
| 3265 |
} 0x7a820223f2b3a881 |
| 3266 |
test expr-28.422 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3267 |
# Ad2b d UN +2990671154 E-190 x 13db11ac608107_01111111111111111111111111111111111111110& E-600 |
| 3268 |
convertToDouble +2990671154E-190 |
| 3269 |
} 0x1a73db11ac608107 |
| 3270 |
test expr-28.423 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3271 |
# Ad2b d UN -1495335577 E-190 x -13db11ac608107_01111111111111111111111111111111111111110& E-601 |
| 3272 |
convertToDouble -1495335577E-190 |
| 3273 |
} 0x9a63db11ac608107 |
| 3274 |
test expr-28.424 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3275 |
# Ad2b d UN +5981342308 E-190 x 13db11ac608107_01111111111111111111111111111111111111110& E-599 |
| 3276 |
convertToDouble +5981342308E-190 |
| 3277 |
} 0x1a83db11ac608107 |
| 3278 |
test expr-28.425 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3279 |
# Ad2b d UN -7476677885 E-191 x -13db11ac608107_01111111111111111111111111111111111111110& E-602 |
| 3280 |
convertToDouble -7476677885E-191 |
| 3281 |
} 0x9a53db11ac608107 |
| 3282 |
test expr-28.426 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3283 |
# Ad2b d UN +82259684194 E-202 x 12c3e72d179606_1000000000000000000000000000000000000000001& E-635 |
| 3284 |
convertToDouble +82259684194E-202 |
| 3285 |
} 0x1842c3e72d179607 |
| 3286 |
test expr-28.427 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3287 |
# Ad2b d UN -93227267727 E-49 x -1960fe08d5847e_100000000000000000000000000000000000000001& E-127 |
| 3288 |
convertToDouble -93227267727E-49 |
| 3289 |
} 0xb80960fe08d5847f |
| 3290 |
test expr-28.428 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3291 |
# Ad2b d UN +41129842097 E-202 x 12c3e72d179606_1000000000000000000000000000000000000000001& E-636 |
| 3292 |
convertToDouble +41129842097E-202 |
| 3293 |
} 0x1832c3e72d179607 |
| 3294 |
test expr-28.429 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3295 |
# Ad2b d UN -47584241418 E-314 x -14e25dd3747e96_10000000000000000000000000000000000000001& E-1008 |
| 3296 |
convertToDouble -47584241418E-314 |
| 3297 |
} 0x80f4e25dd3747e97 |
| 3298 |
test expr-28.430 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3299 |
# Ad2b d UN -79360293406 E92 x -1c58a00bb31863_01111111111111111111111111111111111111110& E341 |
| 3300 |
convertToDouble -79360293406E92 |
| 3301 |
} 0xd54c58a00bb31863 |
| 3302 |
test expr-28.431 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3303 |
# Ad2b d UN +57332259349 E225 x 120811f528378b_01111111111111111111111111111111111111110& E783 |
| 3304 |
convertToDouble +57332259349E225 |
| 3305 |
} 0x70e20811f528378b |
| 3306 |
test expr-28.432 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3307 |
# Ad2b d UN -57202326162 E111 x -1626f1c480545b_01111111111111111111111111111111111111110& E404 |
| 3308 |
convertToDouble -57202326162E111 |
| 3309 |
} 0xd93626f1c480545b |
| 3310 |
test expr-28.433 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3311 |
# Ad2b d UN +86860597053 E-206 x 103b77d2b969d9_0111111111111111111111111111111111111111110& E-648 |
| 3312 |
convertToDouble +86860597053E-206 |
| 3313 |
} 0x17703b77d2b969d9 |
| 3314 |
test expr-28.434 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3315 |
# Ad2b d UN -53827010643 E-200 x -132fa69a69bd6d_0111111111111111111111111111111111111111110& E-629 |
| 3316 |
convertToDouble -53827010643E-200 |
| 3317 |
} 0x98a32fa69a69bd6d |
| 3318 |
test expr-28.435 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3319 |
# Ad2b d UN +53587107423 E-61 x 100a19a3ffd981_011111111111111111111111111111111111111111110& E-167 |
| 3320 |
convertToDouble +53587107423E-61 |
| 3321 |
} 0x35800a19a3ffd981 |
| 3322 |
test expr-28.436 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3323 |
# Ad2b d UN +635007636765 E200 x 1824e73a4f030e_100000000000000000000000000000000000000000001& E703 |
| 3324 |
convertToDouble +635007636765E200 |
| 3325 |
} 0x6be824e73a4f030f |
| 3326 |
test expr-28.437 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3327 |
# Ad2b d UN +508006109412 E201 x 1824e73a4f030e_100000000000000000000000000000000000000000001& E706 |
| 3328 |
convertToDouble +508006109412E201 |
| 3329 |
} 0x6c1824e73a4f030f |
| 3330 |
test expr-28.438 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3331 |
# Ad2b d UN -254003054706 E201 x -1824e73a4f030e_100000000000000000000000000000000000000000001& E705 |
| 3332 |
convertToDouble -254003054706E201 |
| 3333 |
} 0xec0824e73a4f030f |
| 3334 |
test expr-28.439 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3335 |
# Ad2b d UN +561029718715 E-72 x 1cd96a6972a14a_100000000000000000000000000000000000000000001& E-201 |
| 3336 |
convertToDouble +561029718715E-72 |
| 3337 |
} 0x336cd96a6972a14b |
| 3338 |
test expr-28.440 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3339 |
# Ad2b d UN -897647549944 E-71 x -1cd96a6972a14a_100000000000000000000000000000000000000000001& E-197 |
| 3340 |
convertToDouble -897647549944E-71 |
| 3341 |
} 0xb3acd96a6972a14b |
| 3342 |
test expr-28.441 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3343 |
# Ad2b d UN +112205943743 E-71 x 1cd96a6972a14a_100000000000000000000000000000000000000000001& E-200 |
| 3344 |
convertToDouble +112205943743E-71 |
| 3345 |
} 0x337cd96a6972a14b |
| 3346 |
test expr-28.442 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3347 |
# Ad2b d UN -873947086081 E-236 x -19e117541d04e6_1000000000000000000000000000000000000000000001& E-745 |
| 3348 |
convertToDouble -873947086081E-236 |
| 3349 |
} 0x9169e117541d04e7 |
| 3350 |
test expr-28.443 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3351 |
# Ad2b d UN +809184709177 E116 x 1de27e59fb0679_011111111111111111111111111111111111111111110& E424 |
| 3352 |
convertToDouble +809184709177E116 |
| 3353 |
} 0x5a7de27e59fb0679 |
| 3354 |
test expr-28.444 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3355 |
# Ad2b d UN -573112917422 E81 x -11958b36c5102b_01111111111111111111111111111111111111111111110& E308 |
| 3356 |
convertToDouble -573112917422E81 |
| 3357 |
} 0xd331958b36c5102b |
| 3358 |
test expr-28.445 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3359 |
# Ad2b d UN +286556458711 E81 x 11958b36c5102b_01111111111111111111111111111111111111111111110& E307 |
| 3360 |
convertToDouble +286556458711E81 |
| 3361 |
} 0x5321958b36c5102b |
| 3362 |
test expr-28.446 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3363 |
# Ad2b d UN +952805821491 E-259 x 1551767ef8a9a3_011111111111111111111111111111111111111111110& E-821 |
| 3364 |
convertToDouble +952805821491E-259 |
| 3365 |
} 0x0ca551767ef8a9a3 |
| 3366 |
test expr-28.447 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3367 |
# Ad2b d UN -132189992873 E-44 x -1b746cf242410b_011111111111111111111111111111111111111111110& E-110 |
| 3368 |
convertToDouble -132189992873E-44 |
| 3369 |
} 0xb91b746cf242410b |
| 3370 |
test expr-28.448 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3371 |
# Ad2b d UN -173696038493 E-144 x -1f8fefbb3249d3_011111111111111111111111111111111111111111110& E-442 |
| 3372 |
convertToDouble -173696038493E-144 |
| 3373 |
} 0xa45f8fefbb3249d3 |
| 3374 |
test expr-28.449 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3375 |
# Ad2b d UN +1831132757599 E-107 x 138e6edd48f2a2_1000000000000000000000000000000000000000000000001& E-315 |
| 3376 |
convertToDouble +1831132757599E-107 |
| 3377 |
} 0x2c438e6edd48f2a3 |
| 3378 |
test expr-28.450 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3379 |
# Ad2b d UN -9155663787995 E-108 x -138e6edd48f2a2_1000000000000000000000000000000000000000000000001& E-316 |
| 3380 |
convertToDouble -9155663787995E-108 |
| 3381 |
} 0xac338e6edd48f2a3 |
| 3382 |
test expr-28.451 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3383 |
# Ad2b d UN +7324531030396 E-107 x 138e6edd48f2a2_1000000000000000000000000000000000000000000000001& E-313 |
| 3384 |
convertToDouble +7324531030396E-107 |
| 3385 |
} 0x2c638e6edd48f2a3 |
| 3386 |
test expr-28.452 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3387 |
# Ad2b d UN -9277338894969 E-200 x -19d5a44fd99a6a_1000000000000000000000000000000000000000000000001& E-622 |
| 3388 |
convertToDouble -9277338894969E-200 |
| 3389 |
} 0x9919d5a44fd99a6b |
| 3390 |
test expr-28.453 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3391 |
# Ad2b d UN +8188292423973 E287 x 1390273bf8f983_0111111111111111111111111111111111111111111111110& E996 |
| 3392 |
convertToDouble +8188292423973E287 |
| 3393 |
} 0x7e3390273bf8f983 |
| 3394 |
test expr-28.454 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3395 |
# Ad2b d UN -5672557437938 E59 x -148c2bd60a1523_011111111111111111111111111111111111111111111110& E238 |
| 3396 |
convertToDouble -5672557437938E59 |
| 3397 |
} 0xced48c2bd60a1523 |
| 3398 |
test expr-28.455 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3399 |
# Ad2b d UN +2836278718969 E59 x 148c2bd60a1523_011111111111111111111111111111111111111111111110& E237 |
| 3400 |
convertToDouble +2836278718969E59 |
| 3401 |
} 0x4ec48c2bd60a1523 |
| 3402 |
test expr-28.456 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3403 |
# Ad2b d UN -9995153153494 E54 x -17ba37c4fbe993_01111111111111111111111111111111111111111111110& E222 |
| 3404 |
convertToDouble -9995153153494E54 |
| 3405 |
} 0xcdd7ba37c4fbe993 |
| 3406 |
test expr-28.457 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3407 |
# Ad2b d UN +9224786422069 E-291 x 14ee5d56b32957_011111111111111111111111111111111111111111111111110& E-924 |
| 3408 |
convertToDouble +9224786422069E-291 |
| 3409 |
} 0x0634ee5d56b32957 |
| 3410 |
test expr-28.458 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3411 |
# Ad2b d UN -3142213164987 E-294 x -1d3409dfbca26f_011111111111111111111111111111111111111111111111110& E-936 |
| 3412 |
convertToDouble -3142213164987E-294 |
| 3413 |
} 0x857d3409dfbca26f |
| 3414 |
test expr-28.459 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3415 |
# Ad2b d UN +6284426329974 E-294 x 1d3409dfbca26f_011111111111111111111111111111111111111111111111110& E-935 |
| 3416 |
convertToDouble +6284426329974E-294 |
| 3417 |
} 0x058d3409dfbca26f |
| 3418 |
test expr-28.460 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3419 |
# Ad2b d UN -8340483752889 E-301 x -10419183e44b91_01111111111111111111111111111111111111111111111110& E-957 |
| 3420 |
convertToDouble -8340483752889E-301 |
| 3421 |
} 0x8420419183e44b91 |
| 3422 |
test expr-28.461 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3423 |
# Ad2b d UN +67039371486466 E89 x 17f203339c9628_10000000000000000000000000000000000000000000000000001& E341 |
| 3424 |
convertToDouble +67039371486466E89 |
| 3425 |
} 0x5547f203339c9629 |
| 3426 |
test expr-28.462 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3427 |
# Ad2b d UN -62150786615239 E197 x -12e79a035b9714_1000000000000000000000000000000000000000000000000001& E700 |
| 3428 |
convertToDouble -62150786615239E197 |
| 3429 |
} 0xebb2e79a035b9715 |
| 3430 |
test expr-28.463 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3431 |
# Ad2b d UN +33519685743233 E89 x 17f203339c9628_10000000000000000000000000000000000000000000000000001& E340 |
| 3432 |
convertToDouble +33519685743233E89 |
| 3433 |
} 0x5537f203339c9629 |
| 3434 |
test expr-28.464 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3435 |
# Ad2b d UN -52563419496999 E156 x -1bdb17625bf6e6_1000000000000000000000000000000000000000000000000001& E563 |
| 3436 |
convertToDouble -52563419496999E156 |
| 3437 |
} 0xe32bdb17625bf6e7 |
| 3438 |
test expr-28.465 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3439 |
# Ad2b d UN +32599460466991 E-65 x 1f395d4c779d8e_1000000000000000000000000000000000000000000000000001& E-172 |
| 3440 |
convertToDouble +32599460466991E-65 |
| 3441 |
} 0x353f395d4c779d8f |
| 3442 |
test expr-28.466 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3443 |
# Ad2b d UN -41010988798007 E-133 x -152e1c9e04ee06_100000000000000000000000000000000000000000000000001& E-397 |
| 3444 |
convertToDouble -41010988798007E-133 |
| 3445 |
} 0xa7252e1c9e04ee07 |
| 3446 |
test expr-28.467 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3447 |
# Ad2b d UN +65198920933982 E-65 x 1f395d4c779d8e_1000000000000000000000000000000000000000000000000001& E-171 |
| 3448 |
convertToDouble +65198920933982E-65 |
| 3449 |
} 0x354f395d4c779d8f |
| 3450 |
test expr-28.468 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3451 |
# Ad2b d UN -82021977596014 E-133 x -152e1c9e04ee06_100000000000000000000000000000000000000000000000001& E-396 |
| 3452 |
convertToDouble -82021977596014E-133 |
| 3453 |
} 0xa7352e1c9e04ee07 |
| 3454 |
test expr-28.469 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3455 |
# Ad2b d UN +80527976643809 E61 x 1c7c5aea080a49_0111111111111111111111111111111111111111111111111110& E248 |
| 3456 |
convertToDouble +80527976643809E61 |
| 3457 |
} 0x4f7c7c5aea080a49 |
| 3458 |
test expr-28.470 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3459 |
# Ad2b d UN -74712611505209 E158 x -1eeebe9ea010f3_011111111111111111111111111111111111111111111111110& E570 |
| 3460 |
convertToDouble -74712611505209E158 |
| 3461 |
} 0xe39eeebe9ea010f3 |
| 3462 |
test expr-28.471 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3463 |
# Ad2b d UN +53390939710959 E261 x 18ac6d426a1cb1_0111111111111111111111111111111111111111111111111110& E912 |
| 3464 |
convertToDouble +53390939710959E261 |
| 3465 |
} 0x78f8ac6d426a1cb1 |
| 3466 |
test expr-28.472 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3467 |
# Ad2b d UN -69277302659155 E225 x -1547166a3a2b0f_011111111111111111111111111111111111111111111111110& E793 |
| 3468 |
convertToDouble -69277302659155E225 |
| 3469 |
} 0xf18547166a3a2b0f |
| 3470 |
test expr-28.473 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3471 |
# Ad2b d UN +46202199371337 E-72 x 128f9edfbd341f_0111111111111111111111111111111111111111111111111111111110& E-194 |
| 3472 |
convertToDouble +46202199371337E-72 |
| 3473 |
} 0x33d28f9edfbd341f |
| 3474 |
test expr-28.474 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3475 |
# Ad2b d UN -23438635467783 E-179 x -1ba485b99e47af_0111111111111111111111111111111111111111111111111110& E-551 |
| 3476 |
convertToDouble -23438635467783E-179 |
| 3477 |
} 0x9d8ba485b99e47af |
| 3478 |
test expr-28.475 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3479 |
# Ad2b d UN +41921560615349 E-67 x 19b2a5c4041e4b_0111111111111111111111111111111111111111111111111110& E-178 |
| 3480 |
convertToDouble +41921560615349E-67 |
| 3481 |
} 0x34d9b2a5c4041e4b |
| 3482 |
test expr-28.476 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3483 |
# Ad2b d UN -92404398742674 E-72 x -128f9edfbd341f_0111111111111111111111111111111111111111111111111111111110& E-193 |
| 3484 |
convertToDouble -92404398742674E-72 |
| 3485 |
} 0xb3e28f9edfbd341f |
| 3486 |
test expr-28.477 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3487 |
# Ad2b d UN +738545606647197 E124 x 13d8886a766a20_100000000000000000000000000000000000000000000000000001& E461 |
| 3488 |
convertToDouble +738545606647197E124 |
| 3489 |
} 0x5cc3d8886a766a21 |
| 3490 |
test expr-28.478 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3491 |
# Ad2b d UN -972708181182949 E117 x -15ed1f039cebfe_1000000000000000000000000000000000000000000000000000001& E438 |
| 3492 |
convertToDouble -972708181182949E117 |
| 3493 |
} 0xdb55ed1f039cebff |
| 3494 |
test expr-28.479 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3495 |
# Ad2b d UN -837992143580825 E87 x -17f203339c9628_10000000000000000000000000000000000000000000000000001& E338 |
| 3496 |
convertToDouble -837992143580825E87 |
| 3497 |
} 0xd517f203339c9629 |
| 3498 |
test expr-28.480 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3499 |
# Ad2b d UN +609610927149051 E-255 x 104273b18918b0_100000000000000000000000000000000000000000000000000000001& E-798 |
| 3500 |
convertToDouble +609610927149051E-255 |
| 3501 |
} 0x0e104273b18918b1 |
| 3502 |
test expr-28.481 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3503 |
# Ad2b d UN -475603213226859 E-41 x -178cfcab31064c_10000000000000000000000000000000000000000000000000000001& E-88 |
| 3504 |
convertToDouble -475603213226859E-41 |
| 3505 |
} 0xba778cfcab31064d |
| 3506 |
test expr-28.482 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3507 |
# Ad2b d UN +563002800671023 E-177 x 1035e7b5183922_10000000000000000000000000000000000000000000000000000001& E-539 |
| 3508 |
convertToDouble +563002800671023E-177 |
| 3509 |
} 0x1e4035e7b5183923 |
| 3510 |
test expr-28.483 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3511 |
# Ad2b d UN -951206426453718 E-41 x -178cfcab31064c_10000000000000000000000000000000000000000000000000000001& E-87 |
| 3512 |
convertToDouble -951206426453718E-41 |
| 3513 |
} 0xba878cfcab31064d |
| 3514 |
test expr-28.484 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3515 |
# Ad2b d UN +805416432656519 E202 x 175d226331d039_01111111111111111111111111111111111111111111111111111110& E720 |
| 3516 |
convertToDouble +805416432656519E202 |
| 3517 |
} 0x6cf75d226331d039 |
| 3518 |
test expr-28.485 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3519 |
# Ad2b d UN -530658674694337 E159 x -112a13daa46fe3_0111111111111111111111111111111111111111111111111111110& E577 |
| 3520 |
convertToDouble -530658674694337E159 |
| 3521 |
} 0xe4012a13daa46fe3 |
| 3522 |
test expr-28.486 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3523 |
# Ad2b d UN +946574173863918 E208 x 1a2fbffdb7580b_011111111111111111111111111111111111111111111111111110& E740 |
| 3524 |
convertToDouble +946574173863918E208 |
| 3525 |
} 0x6e3a2fbffdb7580b |
| 3526 |
test expr-28.487 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3527 |
# Ad2b d UN -318329953318553 E113 x -178358811cbc95_011111111111111111111111111111111111111111111111111110& E423 |
| 3528 |
convertToDouble -318329953318553E113 |
| 3529 |
} 0xda678358811cbc95 |
| 3530 |
test expr-28.488 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3531 |
# Ad2b d UN -462021993713370 E-73 x -128f9edfbd341f_0111111111111111111111111111111111111111111111111111111110& E-194 |
| 3532 |
convertToDouble -462021993713370E-73 |
| 3533 |
} 0xb3d28f9edfbd341f |
| 3534 |
test expr-28.489 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3535 |
# Ad2b d UN +369617594970696 E-72 x 128f9edfbd341f_0111111111111111111111111111111111111111111111111111111110& E-191 |
| 3536 |
convertToDouble +369617594970696E-72 |
| 3537 |
} 0x34028f9edfbd341f |
| 3538 |
test expr-28.490 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3539 |
# Ad2b d UN +3666156212014994 E233 x 1a37935f3b71c8_100000000000000000000000000000000000000000000000000000001& E825 |
| 3540 |
convertToDouble +3666156212014994E233 |
| 3541 |
} 0x738a37935f3b71c9 |
| 3542 |
test expr-28.491 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3543 |
# Ad2b d UN -1833078106007497 E233 x -1a37935f3b71c8_100000000000000000000000000000000000000000000000000000001& E824 |
| 3544 |
convertToDouble -1833078106007497E233 |
| 3545 |
} 0xf37a37935f3b71c9 |
| 3546 |
test expr-28.492 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3547 |
# Ad2b d UN +8301790508624232 E174 x 1dcfee6690ffc6_100000000000000000000000000000000000000000000000000000001& E630 |
| 3548 |
convertToDouble +8301790508624232E174 |
| 3549 |
} 0x675dcfee6690ffc7 |
| 3550 |
test expr-28.493 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3551 |
# Ad2b d UN -1037723813578029 E174 x -1dcfee6690ffc6_100000000000000000000000000000000000000000000000000000001& E627 |
| 3552 |
convertToDouble -1037723813578029E174 |
| 3553 |
} 0xe72dcfee6690ffc7 |
| 3554 |
test expr-28.494 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3555 |
# Ad2b d UN +7297662880581139 E-286 x 18ac8c79e1ff18_1000000000000000000000000000000000000000000000000000000000001& E-898 |
| 3556 |
convertToDouble +7297662880581139E-286 |
| 3557 |
} 0x07d8ac8c79e1ff19 |
| 3558 |
test expr-28.495 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3559 |
# Ad2b d UN -5106185698912191 E-276 x -141934d77659be_1000000000000000000000000000000000000000000000000000000000001& E-865 |
| 3560 |
convertToDouble -5106185698912191E-276 |
| 3561 |
} 0x89e41934d77659bf |
| 3562 |
test expr-28.496 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3563 |
# Ad2b d UN +7487252720986826 E-165 x 18823a57adbef8_100000000000000000000000000000000000000000000000000000000000001& E-496 |
| 3564 |
convertToDouble +7487252720986826E-165 |
| 3565 |
} 0x20f8823a57adbef9 |
| 3566 |
test expr-28.497 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3567 |
# Ad2b d UN -3743626360493413 E-165 x -18823a57adbef8_100000000000000000000000000000000000000000000000000000000000001& E-497 |
| 3568 |
convertToDouble -3743626360493413E-165 |
| 3569 |
} 0xa0e8823a57adbef9 |
| 3570 |
test expr-28.498 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3571 |
# Ad2b d UN +3773057430100257 E230 x 1ba10d818fdafd_0111111111111111111111111111111111111111111111111111111110& E815 |
| 3572 |
convertToDouble +3773057430100257E230 |
| 3573 |
} 0x72eba10d818fdafd |
| 3574 |
test expr-28.499 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3575 |
# Ad2b d UN -7546114860200514 E230 x -1ba10d818fdafd_0111111111111111111111111111111111111111111111111111111110& E816 |
| 3576 |
convertToDouble -7546114860200514E230 |
| 3577 |
} 0xf2fba10d818fdafd |
| 3578 |
test expr-28.500 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3579 |
# Ad2b d UN +4321222892463822 E58 x 18750ea732fdad_011111111111111111111111111111111111111111111111111111110& E244 |
| 3580 |
convertToDouble +4321222892463822E58 |
| 3581 |
} 0x4f38750ea732fdad |
| 3582 |
test expr-28.501 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3583 |
# Ad2b d UN -7793560217139653 E51 x -1280461b856ec5_0111111111111111111111111111111111111111111111111111111110& E222 |
| 3584 |
convertToDouble -7793560217139653E51 |
| 3585 |
} 0xcdd280461b856ec5 |
| 3586 |
test expr-28.502 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3587 |
# Ad2b d UN +26525993941010681 E112 x 187dcbf6ad5cf8_10000000000000000000000000000000000000000000000000000000000001& E426 |
| 3588 |
convertToDouble +26525993941010681E112 |
| 3589 |
} 0x5a987dcbf6ad5cf9 |
| 3590 |
test expr-28.503 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3591 |
# Ad2b d UN -53051987882021362 E112 x -187dcbf6ad5cf8_10000000000000000000000000000000000000000000000000000000000001& E427 |
| 3592 |
convertToDouble -53051987882021362E112 |
| 3593 |
} 0xdaa87dcbf6ad5cf9 |
| 3594 |
test expr-28.504 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3595 |
# Ad2b d UN +72844871414247907 E77 x 1bf00baf60b70c_100000000000000000000000000000000000000000000000000000000001& E311 |
| 3596 |
convertToDouble +72844871414247907E77 |
| 3597 |
} 0x536bf00baf60b70d |
| 3598 |
test expr-28.505 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3599 |
# Ad2b d UN -88839359596763261 E105 x -1133b1a33a1108_100000000000000000000000000000000000000000000000000000000001& E405 |
| 3600 |
convertToDouble -88839359596763261E105 |
| 3601 |
} 0xd94133b1a33a1109 |
| 3602 |
test expr-28.506 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3603 |
# Ad2b d UN +18718131802467065 E-166 x 18823a57adbef8_100000000000000000000000000000000000000000000000000000000000001& E-498 |
| 3604 |
convertToDouble +18718131802467065E-166 |
| 3605 |
} 0x20d8823a57adbef9 |
| 3606 |
test expr-28.507 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3607 |
# Ad2b d UN -14974505441973652 E-165 x -18823a57adbef8_100000000000000000000000000000000000000000000000000000000000001& E-495 |
| 3608 |
convertToDouble -14974505441973652E-165 |
| 3609 |
} 0xa108823a57adbef9 |
| 3610 |
test expr-28.508 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3611 |
# Ad2b d UN +73429396004640239 E106 x 11c5cb19ef3451_01111111111111111111111111111111111111111111111111111111111110& E408 |
| 3612 |
convertToDouble +73429396004640239E106 |
| 3613 |
} 0x5971c5cb19ef3451 |
| 3614 |
test expr-28.509 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3615 |
# Ad2b d UN -58483921078398283 E57 x -108ce499519ce3_0111111111111111111111111111111111111111111111111111111111111110& E245 |
| 3616 |
convertToDouble -58483921078398283E57 |
| 3617 |
} 0xcf408ce499519ce3 |
| 3618 |
test expr-28.510 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3619 |
# Ad2b d UN +41391519190645203 E165 x 13f33667156017_011111111111111111111111111111111111111111111111111111111111110& E603 |
| 3620 |
convertToDouble +41391519190645203E165 |
| 3621 |
} 0x65a3f33667156017 |
| 3622 |
test expr-28.511 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3623 |
# Ad2b d UN -82783038381290406 E165 x -13f33667156017_011111111111111111111111111111111111111111111111111111111111110& E604 |
| 3624 |
convertToDouble -82783038381290406E165 |
| 3625 |
} 0xe5b3f33667156017 |
| 3626 |
test expr-28.512 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3627 |
# Ad2b d UN +58767043776702677 E-163 x 12c92fee3a3867_0111111111111111111111111111111111111111111111111111111111110& E-486 |
| 3628 |
convertToDouble +58767043776702677E-163 |
| 3629 |
} 0x2192c92fee3a3867 |
| 3630 |
test expr-28.513 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3631 |
# Ad2b d UN -90506231831231999 E-129 x -1bdc4114397ff3_01111111111111111111111111111111111111111111111111111111111110& E-373 |
| 3632 |
convertToDouble -90506231831231999E-129 |
| 3633 |
} 0xa8abdc4114397ff3 |
| 3634 |
test expr-28.514 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3635 |
# Ad2b d UN +64409240769861689 E-159 x 192238f7987779_011111111111111111111111111111111111111111111111111111111111110& E-473 |
| 3636 |
convertToDouble +64409240769861689E-159 |
| 3637 |
} 0x22692238f7987779 |
| 3638 |
test expr-28.515 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3639 |
# Ad2b d UN -77305427432277771 E-190 x -1e978b7780b613_0111111111111111111111111111111111111111111111111111111111110& E-576 |
| 3640 |
convertToDouble -77305427432277771E-190 |
| 3641 |
} 0x9bfe978b7780b613 |
| 3642 |
test expr-28.516 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3643 |
# Ad2b d UN +476592356619258326 E273 x 1873cf8ee72812_10000000000000000000000000000000000000000000000000000000000000001& E965 |
| 3644 |
convertToDouble +476592356619258326E273 |
| 3645 |
} 0x7c4873cf8ee72813 |
| 3646 |
test expr-28.517 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3647 |
# Ad2b d UN -953184713238516652 E273 x -1873cf8ee72812_10000000000000000000000000000000000000000000000000000000000000001& E966 |
| 3648 |
convertToDouble -953184713238516652E273 |
| 3649 |
} 0xfc5873cf8ee72813 |
| 3650 |
test expr-28.518 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3651 |
# Ad2b d UN +899810892172646163 E283 x 1adf51fa055e02_100000000000000000000000000000000000000000000000000000000000000000001& E999 |
| 3652 |
convertToDouble +899810892172646163E283 |
| 3653 |
} 0x7e6adf51fa055e03 |
| 3654 |
test expr-28.519 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3655 |
# Ad2b d UN -929167076892018333 E187 x -1da2c42fce2bc4_10000000000000000000000000000000000000000000000000000000000000000001& E680 |
| 3656 |
convertToDouble -929167076892018333E187 |
| 3657 |
} 0xea7da2c42fce2bc5 |
| 3658 |
test expr-28.520 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3659 |
# Ad2b d UN +647761278967534239 E-312 x 1a7a2476ec0b3e_10000000000000000000000000000000000000000000000000000000000000001& E-978 |
| 3660 |
convertToDouble +647761278967534239E-312 |
| 3661 |
} 0x02da7a2476ec0b3f |
| 3662 |
test expr-28.521 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3663 |
# Ad2b d UN -644290479820542942 E-180 x -128d1407dfa832_10000000000000000000000000000000000000000000000000000000000000001& E-539 |
| 3664 |
convertToDouble -644290479820542942E-180 |
| 3665 |
} 0x9e428d1407dfa833 |
| 3666 |
test expr-28.522 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3667 |
# Ad2b d UN +926145344610700019 E-225 x 1307a67f1f69fe_10000000000000000000000000000000000000000000000000000000000000000001& E-688 |
| 3668 |
convertToDouble +926145344610700019E-225 |
| 3669 |
} 0x14f307a67f1f69ff |
| 3670 |
test expr-28.523 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3671 |
# Ad2b d UN -958507931896511964 E-246 x -17406753df2f0c_10000000000000000000000000000000000000000000000000000000000000001& E-758 |
| 3672 |
convertToDouble -958507931896511964E-246 |
| 3673 |
} 0x9097406753df2f0d |
| 3674 |
test expr-28.524 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3675 |
# Ad2b d UN +272104041512242479 E200 x 13bbb4bf05f087_011111111111111111111111111111111111111111111111111111111111111111111110& E722 |
| 3676 |
convertToDouble +272104041512242479E200 |
| 3677 |
} 0x6d13bbb4bf05f087 |
| 3678 |
test expr-28.525 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3679 |
# Ad2b d UN -792644927852378159 E79 x -1daff0048f3ec7_011111111111111111111111111111111111111111111111111111111111111111110& E321 |
| 3680 |
convertToDouble -792644927852378159E79 |
| 3681 |
} 0xd40daff0048f3ec7 |
| 3682 |
test expr-28.526 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3683 |
# Ad2b d UN +544208083024484958 E200 x 13bbb4bf05f087_011111111111111111111111111111111111111111111111111111111111111111111110& E723 |
| 3684 |
convertToDouble +544208083024484958E200 |
| 3685 |
} 0x6d23bbb4bf05f087 |
| 3686 |
test expr-28.527 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3687 |
# Ad2b d UN -929963218616126365 E290 x -108dcc0c505461_01111111111111111111111111111111111111111111111111111111111111110& E1023 |
| 3688 |
convertToDouble -929963218616126365E290 |
| 3689 |
} 0xffe08dcc0c505461 |
| 3690 |
test expr-28.528 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3691 |
# Ad2b d UN +305574339166810102 E-219 x 17f399fe02c4b9_011111111111111111111111111111111111111111111111111111111111111110& E-670 |
| 3692 |
convertToDouble +305574339166810102E-219 |
| 3693 |
} 0x1617f399fe02c4b9 |
| 3694 |
test expr-28.529 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3695 |
# Ad2b d UN -152787169583405051 E-219 x -17f399fe02c4b9_011111111111111111111111111111111111111111111111111111111111111110& E-671 |
| 3696 |
convertToDouble -152787169583405051E-219 |
| 3697 |
} 0x9607f399fe02c4b9 |
| 3698 |
test expr-28.530 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3699 |
# Ad2b d UN +611148678333620204 E-219 x 17f399fe02c4b9_011111111111111111111111111111111111111111111111111111111111111110& E-669 |
| 3700 |
convertToDouble +611148678333620204E-219 |
| 3701 |
} 0x1627f399fe02c4b9 |
| 3702 |
test expr-28.531 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3703 |
# Ad2b d UN -763935847917025255 E-220 x -17f399fe02c4b9_011111111111111111111111111111111111111111111111111111111111111110& E-672 |
| 3704 |
convertToDouble -763935847917025255E-220 |
| 3705 |
} 0x95f7f399fe02c4b9 |
| 3706 |
test expr-28.532 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3707 |
# Ad2b d UN +7439550220920798612 E158 x 177fe14f40159a_10000000000000000000000000000000000000000000000000000000000000000000001& E587 |
| 3708 |
convertToDouble +7439550220920798612E158 |
| 3709 |
} 0x64a77fe14f40159b |
| 3710 |
test expr-28.533 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3711 |
# Ad2b d UN -3719775110460399306 E158 x -177fe14f40159a_10000000000000000000000000000000000000000000000000000000000000000000001& E586 |
| 3712 |
convertToDouble -3719775110460399306E158 |
| 3713 |
} 0xe4977fe14f40159b |
| 3714 |
test expr-28.534 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3715 |
# Ad2b d UN +9299437776150998265 E157 x 177fe14f40159a_10000000000000000000000000000000000000000000000000000000000000000000001& E584 |
| 3716 |
convertToDouble +9299437776150998265E157 |
| 3717 |
} 0x64777fe14f40159b |
| 3718 |
test expr-28.535 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3719 |
# Ad2b d UN -7120190517612959703 E120 x -13220dcd5899fc_1000000000000000000000000000000000000000000000000000000000000000000000001& E461 |
| 3720 |
convertToDouble -7120190517612959703E120 |
| 3721 |
} 0xdcc3220dcd5899fd |
| 3722 |
test expr-28.536 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3723 |
# Ad2b d UN +3507665085003296281 E-73 x 11339818257f0e_100000000000000000000000000000000000000000000000000000000000000000000001& E-181 |
| 3724 |
convertToDouble +3507665085003296281E-73 |
| 3725 |
} 0x34a1339818257f0f |
| 3726 |
test expr-28.537 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3727 |
# Ad2b d UN -7015330170006592562 E-73 x -11339818257f0e_100000000000000000000000000000000000000000000000000000000000000000000001& E-180 |
| 3728 |
convertToDouble -7015330170006592562E-73 |
| 3729 |
} 0xb4b1339818257f0f |
| 3730 |
test expr-28.538 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3731 |
# Ad2b d UN -6684428762278255956 E-294 x -1d9f82a1a6b1b8_10000000000000000000000000000000000000000000000000000000000000000001& E-915 |
| 3732 |
convertToDouble -6684428762278255956E-294 |
| 3733 |
} 0x86cd9f82a1a6b1b9 |
| 3734 |
test expr-28.539 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3735 |
# Ad2b d UN -1088416166048969916 E200 x -13bbb4bf05f087_011111111111111111111111111111111111111111111111111111111111111111111110& E724 |
| 3736 |
convertToDouble -1088416166048969916E200 |
| 3737 |
} 0xed33bbb4bf05f087 |
| 3738 |
test expr-28.540 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3739 |
# Ad2b d UN -8707329328391759328 E200 x -13bbb4bf05f087_011111111111111111111111111111111111111111111111111111111111111111111110& E727 |
| 3740 |
convertToDouble -8707329328391759328E200 |
| 3741 |
} 0xed63bbb4bf05f087 |
| 3742 |
test expr-28.541 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3743 |
# Ad2b d UN +4439021781608558002 E-65 x 1038168b71e2c9_01111111111111111111111111111111111111111111111111111111111111111110& E-154 |
| 3744 |
convertToDouble +4439021781608558002E-65 |
| 3745 |
} 0x365038168b71e2c9 |
| 3746 |
test expr-28.542 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3747 |
# Ad2b d UN -8878043563217116004 E-65 x -1038168b71e2c9_01111111111111111111111111111111111111111111111111111111111111111110& E-153 |
| 3748 |
convertToDouble -8878043563217116004E-65 |
| 3749 |
} 0xb66038168b71e2c9 |
| 3750 |
test expr-28.543 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3751 |
# Ad2b d UN +2219510890804279001 E-65 x 1038168b71e2c9_01111111111111111111111111111111111111111111111111111111111111111110& E-155 |
| 3752 |
convertToDouble +2219510890804279001E-65 |
| 3753 |
} 0x364038168b71e2c9 |
| 3754 |
test expr-28.544 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3755 |
# Ad2b d UN +33051223951904955802 E55 x 1762068a24fd54_1000000000000000000000000000000000000000000000000000000000000000000000001& E247 |
| 3756 |
convertToDouble +33051223951904955802E55 |
| 3757 |
} 0x4f6762068a24fd55 |
| 3758 |
test expr-28.545 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3759 |
# Ad2b d UN -56961524140903677624 E120 x -13220dcd5899fc_1000000000000000000000000000000000000000000000000000000000000000000000001& E464 |
| 3760 |
convertToDouble -56961524140903677624E120 |
| 3761 |
} 0xdcf3220dcd5899fd |
| 3762 |
test expr-28.546 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3763 |
# Ad2b d UN +71201905176129597030 E119 x 13220dcd5899fc_1000000000000000000000000000000000000000000000000000000000000000000000001& E461 |
| 3764 |
convertToDouble +71201905176129597030E119 |
| 3765 |
} 0x5cc3220dcd5899fd |
| 3766 |
test expr-28.547 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3767 |
# Ad2b d UN +14030660340013185124 E-73 x 11339818257f0e_100000000000000000000000000000000000000000000000000000000000000000000001& E-179 |
| 3768 |
convertToDouble +14030660340013185124E-73 |
| 3769 |
} 0x34c1339818257f0f |
| 3770 |
test expr-28.548 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3771 |
# Ad2b d UN -17538325425016481405 E-74 x -11339818257f0e_100000000000000000000000000000000000000000000000000000000000000000000001& E-182 |
| 3772 |
convertToDouble -17538325425016481405E-74 |
| 3773 |
} 0xb491339818257f0f |
| 3774 |
test expr-28.549 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3775 |
# Ad2b d UN +67536228609141569109 E-133 x 10a1b35cf2a635_01111111111111111111111111111111111111111111111111111111111111111111110& E-376 |
| 3776 |
convertToDouble +67536228609141569109E-133 |
| 3777 |
} 0x2870a1b35cf2a635 |
| 3778 |
test expr-28.550 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3779 |
# Ad2b d UN -35620497849450218807 E-306 x -15b22082529425_0111111111111111111111111111111111111111111111111111111111111111111111110& E-952 |
| 3780 |
convertToDouble -35620497849450218807E-306 |
| 3781 |
} 0x8475b22082529425 |
| 3782 |
test expr-28.551 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3783 |
# Ad2b d UN +66550376797582521751 E-126 x 13897c0ede6c69_01111111111111111111111111111111111111111111111111111111111111111111110& E-353 |
| 3784 |
convertToDouble +66550376797582521751E-126 |
| 3785 |
} 0x29e3897c0ede6c69 |
| 3786 |
test expr-28.552 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3787 |
# Ad2b d UN -71240995698900437614 E-306 x -15b22082529425_0111111111111111111111111111111111111111111111111111111111111111111111110& E-951 |
| 3788 |
convertToDouble -71240995698900437614E-306 |
| 3789 |
} 0x8485b22082529425 |
| 3790 |
test expr-28.553 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3791 |
# Ad2b dieee UN +3 E24 x 13da329b633647_0001& E81 |
| 3792 |
convertToDouble +3E24 |
| 3793 |
} 0x4503da329b633647 |
| 3794 |
test expr-28.554 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3795 |
# Ad2b dieee UN -6 E24 x -13da329b633647_0001& E82 |
| 3796 |
convertToDouble -6E24 |
| 3797 |
} 0xc513da329b633647 |
| 3798 |
test expr-28.555 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3799 |
# Ad2b dieee UN +6 E26 x 1f04ef12cb04cf_0001& E88 |
| 3800 |
convertToDouble +6E26 |
| 3801 |
} 0x457f04ef12cb04cf |
| 3802 |
test expr-28.556 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3803 |
# Ad2b dieee UN -7 E25 x -1cf389cd46047d_0000001& E85 |
| 3804 |
convertToDouble -7E25 |
| 3805 |
} 0xc54cf389cd46047d |
| 3806 |
test expr-28.557 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3807 |
# Ad2b dieee UN +1 E-14 x 16849b86a12b9b_00000001& E-47 |
| 3808 |
convertToDouble +1E-14 |
| 3809 |
} 0x3d06849b86a12b9b |
| 3810 |
test expr-28.558 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3811 |
# Ad2b dieee UN -2 E-14 x -16849b86a12b9b_00000001& E-46 |
| 3812 |
convertToDouble -2E-14 |
| 3813 |
} 0xbd16849b86a12b9b |
| 3814 |
test expr-28.559 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3815 |
# Ad2b dieee UN +4 E-14 x 16849b86a12b9b_00000001& E-45 |
| 3816 |
convertToDouble +4E-14 |
| 3817 |
} 0x3d26849b86a12b9b |
| 3818 |
test expr-28.560 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3819 |
# Ad2b dieee UN -8 E-14 x -16849b86a12b9b_00000001& E-44 |
| 3820 |
convertToDouble -8E-14 |
| 3821 |
} 0xbd36849b86a12b9b |
| 3822 |
test expr-28.561 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3823 |
# Ad2b dieee UN +5 E26 x 19d971e4fe8401_1110& E88 |
| 3824 |
convertToDouble +5E26 |
| 3825 |
} 0x4579d971e4fe8402 |
| 3826 |
test expr-28.562 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3827 |
# Ad2b dieee UN -8 E27 x -19d971e4fe8401_1110& E92 |
| 3828 |
convertToDouble -8E27 |
| 3829 |
} 0xc5b9d971e4fe8402 |
| 3830 |
test expr-28.563 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3831 |
# Ad2b dieee UN +1 E27 x 19d971e4fe8401_1110& E89 |
| 3832 |
convertToDouble +1E27 |
| 3833 |
} 0x4589d971e4fe8402 |
| 3834 |
test expr-28.564 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3835 |
# Ad2b dieee UN -4 E27 x -19d971e4fe8401_1110& E91 |
| 3836 |
convertToDouble -4E27 |
| 3837 |
} 0xc5a9d971e4fe8402 |
| 3838 |
test expr-28.565 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3839 |
# Ad2b dieee UN +9 E-13 x 1faa7ab552a551_111110& E-41 |
| 3840 |
convertToDouble +9E-13 |
| 3841 |
} 0x3d6faa7ab552a552 |
| 3842 |
test expr-28.566 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3843 |
# Ad2b dieee UN -7 E-20 x -14a90ceafff9de_11110& E-64 |
| 3844 |
convertToDouble -7E-20 |
| 3845 |
} 0xbbf4a90ceafff9df |
| 3846 |
test expr-28.567 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3847 |
# Ad2b dieee UN +56 E25 x 1cf389cd46047d_0000001& E88 |
| 3848 |
convertToDouble +56E25 |
| 3849 |
} 0x457cf389cd46047d |
| 3850 |
test expr-28.568 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3851 |
# Ad2b dieee UN -70 E24 x -1cf389cd46047d_0000001& E85 |
| 3852 |
convertToDouble -70E24 |
| 3853 |
} 0xc54cf389cd46047d |
| 3854 |
test expr-28.569 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3855 |
# Ad2b dieee UN +51 E26 x 107a9f01fbda8e_0000001& E92 |
| 3856 |
convertToDouble +51E26 |
| 3857 |
} 0x45b07a9f01fbda8e |
| 3858 |
test expr-28.570 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3859 |
# Ad2b dieee UN +71 E-17 x 19949819f693d7_00000000001& E-51 |
| 3860 |
convertToDouble +71E-17 |
| 3861 |
} 0x3cc9949819f693d7 |
| 3862 |
test expr-28.571 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3863 |
# Ad2b dieee UN -31 E-5 x -1450efdc9c4da9_00000000001& E-12 |
| 3864 |
convertToDouble -31E-5 |
| 3865 |
} 0xbf3450efdc9c4da9 |
| 3866 |
test expr-28.572 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3867 |
# Ad2b dieee UN +62 E-5 x 1450efdc9c4da9_00000000001& E-11 |
| 3868 |
convertToDouble +62E-5 |
| 3869 |
} 0x3f4450efdc9c4da9 |
| 3870 |
test expr-28.573 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3871 |
# Ad2b dieee UN -94 E-8 x -1f8a89dc374df5_0000000001& E-21 |
| 3872 |
convertToDouble -94E-8 |
| 3873 |
} 0xbeaf8a89dc374df5 |
| 3874 |
test expr-28.574 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3875 |
# Ad2b dieee UN +67 E27 x 1b0fa33bba7231_11111110& E95 |
| 3876 |
convertToDouble +67E27 |
| 3877 |
} 0x45eb0fa33bba7232 |
| 3878 |
test expr-28.575 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3879 |
# Ad2b dieee UN -81 E24 x -10c01ab31bb5cb_1111110& E86 |
| 3880 |
convertToDouble -81E24 |
| 3881 |
} 0xc550c01ab31bb5cc |
| 3882 |
test expr-28.576 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3883 |
# Ad2b dieee UN +54 E23 x 11ddfa58a6173f_111110& E82 |
| 3884 |
convertToDouble +54E23 |
| 3885 |
} 0x4511ddfa58a61740 |
| 3886 |
test expr-28.577 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3887 |
# Ad2b dieee UN -54 E25 x -1bead72a838453_111110& E88 |
| 3888 |
convertToDouble -54E25 |
| 3889 |
} 0xc57bead72a838454 |
| 3890 |
test expr-28.578 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3891 |
# Ad2b dieee UN +63 E-22 x 1dc03b8fd70169_11111111110& E-68 |
| 3892 |
convertToDouble +63E-22 |
| 3893 |
} 0x3bbdc03b8fd7016a |
| 3894 |
test expr-28.579 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3895 |
# Ad2b dieee UN -63 E-23 x -17ccfc73126787_11111111110& E-71 |
| 3896 |
convertToDouble -63E-23 |
| 3897 |
} 0xbb87ccfc73126788 |
| 3898 |
test expr-28.580 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3899 |
# Ad2b dieee UN +43 E-4 x 119ce075f6fd21_111111110& E-8 |
| 3900 |
convertToDouble +43E-4 |
| 3901 |
} 0x3f719ce075f6fd22 |
| 3902 |
test expr-28.581 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3903 |
# Ad2b dieee UN -86 E-4 x -119ce075f6fd21_111111110& E-7 |
| 3904 |
convertToDouble -86E-4 |
| 3905 |
} 0xbf819ce075f6fd22 |
| 3906 |
test expr-28.582 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3907 |
# Ad2b dieee UN +942 E26 x 1306069e8681f3_00000000001& E96 |
| 3908 |
convertToDouble +942E26 |
| 3909 |
} 0x45f306069e8681f3 |
| 3910 |
test expr-28.583 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3911 |
# Ad2b dieee UN -471 E25 x -1e700a973d9cb8_0000000001& E91 |
| 3912 |
convertToDouble -471E25 |
| 3913 |
} 0xc5ae700a973d9cb8 |
| 3914 |
test expr-28.584 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3915 |
# Ad2b dieee UN +803 E24 x 14c1cee9cd666b_000000000001& E89 |
| 3916 |
convertToDouble +803E24 |
| 3917 |
} 0x4584c1cee9cd666b |
| 3918 |
test expr-28.585 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3919 |
# Ad2b dieee UN -471 E26 x -1306069e8681f3_00000000001& E95 |
| 3920 |
convertToDouble -471E26 |
| 3921 |
} 0xc5e306069e8681f3 |
| 3922 |
test expr-28.586 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3923 |
# Ad2b dieee UN -409 E-21 x -1e2dcaa4115622_000000000001& E-62 |
| 3924 |
convertToDouble -409E-21 |
| 3925 |
} 0xbc1e2dcaa4115622 |
| 3926 |
test expr-28.587 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3927 |
# Ad2b dieee UN +818 E-21 x 1e2dcaa4115622_000000000001& E-61 |
| 3928 |
convertToDouble +818E-21 |
| 3929 |
} 0x3c2e2dcaa4115622 |
| 3930 |
test expr-28.588 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3931 |
# Ad2b dieee UN -867 E-8 x -122eabba029aba_000000000001& E-17 |
| 3932 |
convertToDouble -867E-8 |
| 3933 |
} 0xbee22eabba029aba |
| 3934 |
test expr-28.589 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3935 |
# Ad2b dieee UN +538 E27 x 1b297cad9f70b5_1111111111111110& E98 |
| 3936 |
convertToDouble +538E27 |
| 3937 |
} 0x461b297cad9f70b6 |
| 3938 |
test expr-28.590 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3939 |
# Ad2b dieee UN -857 E24 x -16272678ba603b_11111111110& E89 |
| 3940 |
convertToDouble -857E24 |
| 3941 |
} 0xc586272678ba603c |
| 3942 |
test expr-28.591 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3943 |
# Ad2b dieee UN +269 E27 x 1b297cad9f70b5_1111111111111110& E97 |
| 3944 |
convertToDouble +269E27 |
| 3945 |
} 0x460b297cad9f70b6 |
| 3946 |
test expr-28.592 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3947 |
# Ad2b dieee UN -403 E26 x -1046ec1e31dd85_1111111110& E95 |
| 3948 |
convertToDouble -403E26 |
| 3949 |
} 0xc5e046ec1e31dd86 |
| 3950 |
test expr-28.593 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3951 |
# Ad2b dieee UN +959 E-7 x 1923bd746a3527_11111111111110& E-14 |
| 3952 |
convertToDouble +959E-7 |
| 3953 |
} 0x3f1923bd746a3528 |
| 3954 |
test expr-28.594 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3955 |
# Ad2b dieee UN -959 E-6 x -1f6cacd184c271_1111111111110& E-11 |
| 3956 |
convertToDouble -959E-6 |
| 3957 |
} 0xbf4f6cacd184c272 |
| 3958 |
test expr-28.595 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3959 |
# Ad2b dieee UN +373 E-27 x 1cdc06b20ef182_1111111111110& E-82 |
| 3960 |
convertToDouble +373E-27 |
| 3961 |
} 0x3adcdc06b20ef183 |
| 3962 |
test expr-28.596 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3963 |
# Ad2b dieee UN -746 E-27 x -1cdc06b20ef182_1111111111110& E-81 |
| 3964 |
convertToDouble -746E-27 |
| 3965 |
} 0xbaecdc06b20ef183 |
| 3966 |
test expr-28.597 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3967 |
# Ad2b dieee UN +4069 E24 x 1a4b9887fbfe7a_0000000000001& E91 |
| 3968 |
convertToDouble +4069E24 |
| 3969 |
} 0x45aa4b9887fbfe7a |
| 3970 |
test expr-28.598 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3971 |
# Ad2b dieee UN -4069 E23 x -150946d32ffec8_0000000000001& E88 |
| 3972 |
convertToDouble -4069E23 |
| 3973 |
} 0xc5750946d32ffec8 |
| 3974 |
test expr-28.599 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3975 |
# Ad2b dieee UN -8138 E24 x -1a4b9887fbfe7a_0000000000001& E92 |
| 3976 |
convertToDouble -8138E24 |
| 3977 |
} 0xc5ba4b9887fbfe7a |
| 3978 |
test expr-28.600 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3979 |
# Ad2b dieee UN +8294 E-15 x 123d1b5eb1d778_000000000000000001& E-37 |
| 3980 |
convertToDouble +8294E-15 |
| 3981 |
} 0x3da23d1b5eb1d778 |
| 3982 |
test expr-28.601 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3983 |
# Ad2b dieee UN -4147 E-14 x -16cc62365e4d56_00000000000000001& E-35 |
| 3984 |
convertToDouble -4147E-14 |
| 3985 |
} 0xbdc6cc62365e4d56 |
| 3986 |
test expr-28.602 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3987 |
# Ad2b dieee UN +4147 E-15 x 123d1b5eb1d778_000000000000000001& E-38 |
| 3988 |
convertToDouble +4147E-15 |
| 3989 |
} 0x3d923d1b5eb1d778 |
| 3990 |
test expr-28.603 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3991 |
# Ad2b dieee UN -8294 E-14 x -16cc62365e4d56_00000000000000001& E-34 |
| 3992 |
convertToDouble -8294E-14 |
| 3993 |
} 0xbdd6cc62365e4d56 |
| 3994 |
test expr-28.604 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3995 |
# Ad2b dieee UN +538 E27 x 1b297cad9f70b5_1111111111111110& E98 |
| 3996 |
convertToDouble +538E27 |
| 3997 |
} 0x461b297cad9f70b6 |
| 3998 |
test expr-28.605 {input floating-point conversion} {ieeeFloatingPoint} { |
| 3999 |
# Ad2b dieee UN -2690 E26 x -1b297cad9f70b5_1111111111111110& E97 |
| 4000 |
convertToDouble -2690E26 |
| 4001 |
} 0xc60b297cad9f70b6 |
| 4002 |
test expr-28.606 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4003 |
# Ad2b dieee UN +269 E27 x 1b297cad9f70b5_1111111111111110& E97 |
| 4004 |
convertToDouble +269E27 |
| 4005 |
} 0x460b297cad9f70b6 |
| 4006 |
test expr-28.607 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4007 |
# Ad2b dieee UN -2152 E27 x -1b297cad9f70b5_1111111111111110& E100 |
| 4008 |
convertToDouble -2152E27 |
| 4009 |
} 0xc63b297cad9f70b6 |
| 4010 |
test expr-28.608 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4011 |
# Ad2b dieee UN +1721 E-17 x 136071dcae4564_111111111111110& E-46 |
| 4012 |
convertToDouble +1721E-17 |
| 4013 |
} 0x3d136071dcae4565 |
| 4014 |
test expr-28.609 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4015 |
# Ad2b dieee UN -7979 E-27 x -134ac304747faf_111111111111110& E-77 |
| 4016 |
convertToDouble -7979E-27 |
| 4017 |
} 0xbb234ac304747fb0 |
| 4018 |
test expr-28.610 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4019 |
# Ad2b dieee UN +6884 E-17 x 136071dcae4564_111111111111110& E-44 |
| 4020 |
convertToDouble +6884E-17 |
| 4021 |
} 0x3d336071dcae4565 |
| 4022 |
test expr-28.611 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4023 |
# Ad2b dieee UN -8605 E-18 x -136071dcae4564_111111111111110& E-47 |
| 4024 |
convertToDouble -8605E-18 |
| 4025 |
} 0xbd036071dcae4565 |
| 4026 |
test expr-28.612 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4027 |
# Ad2b dieee UN +82854 E27 x 10570ed9e3cecc_00000000000000001& E106 |
| 4028 |
convertToDouble +82854E27 |
| 4029 |
} 0x4690570ed9e3cecc |
| 4030 |
test expr-28.613 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4031 |
# Ad2b dieee UN -55684 E24 x -167d9735144ae3_00000000000000001& E95 |
| 4032 |
convertToDouble -55684E24 |
| 4033 |
} 0xc5e67d9735144ae3 |
| 4034 |
test expr-28.614 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4035 |
# Ad2b dieee UN +27842 E24 x 167d9735144ae3_00000000000000001& E94 |
| 4036 |
convertToDouble +27842E24 |
| 4037 |
} 0x45d67d9735144ae3 |
| 4038 |
test expr-28.615 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4039 |
# Ad2b dieee UN -48959 E25 x -18b7cd6ca56f85_00000000000000001& E98 |
| 4040 |
convertToDouble -48959E25 |
| 4041 |
} 0xc618b7cd6ca56f85 |
| 4042 |
test expr-28.616 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4043 |
# Ad2b dieee UN +81921 E-17 x 1cd2c9a6cdd003_000000000000000000001& E-41 |
| 4044 |
convertToDouble +81921E-17 |
| 4045 |
} 0x3d6cd2c9a6cdd003 |
| 4046 |
test expr-28.617 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4047 |
# Ad2b dieee UN -76207 E-8 x -18f8b4dd16f1df_0000000000000000001& E-11 |
| 4048 |
convertToDouble -76207E-8 |
| 4049 |
} 0xbf48f8b4dd16f1df |
| 4050 |
test expr-28.618 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4051 |
# Ad2b dieee UN +4147 E-15 x 123d1b5eb1d778_000000000000000001& E-38 |
| 4052 |
convertToDouble +4147E-15 |
| 4053 |
} 0x3d923d1b5eb1d778 |
| 4054 |
test expr-28.619 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4055 |
# Ad2b dieee UN -41470 E-16 x -123d1b5eb1d778_000000000000000001& E-38 |
| 4056 |
convertToDouble -41470E-16 |
| 4057 |
} 0xbd923d1b5eb1d778 |
| 4058 |
test expr-28.620 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4059 |
# Ad2b dieee UN +89309 E24 x 12092ac5f2019e_1111111111111111110& E96 |
| 4060 |
convertToDouble +89309E24 |
| 4061 |
} 0x45f2092ac5f2019f |
| 4062 |
test expr-28.621 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4063 |
# Ad2b dieee UN +75859 E26 x 17efd75a2938eb_1111111111111111111110& E102 |
| 4064 |
convertToDouble +75859E26 |
| 4065 |
} 0x4657efd75a2938ec |
| 4066 |
test expr-28.622 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4067 |
# Ad2b dieee UN -75859 E25 x -132645e1ba93ef_1111111111111111111110& E99 |
| 4068 |
convertToDouble -75859E25 |
| 4069 |
} 0xc6232645e1ba93f0 |
| 4070 |
test expr-28.623 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4071 |
# Ad2b dieee UN +14257 E-23 x 150a246ecd44f2_1111111111111111110& E-63 |
| 4072 |
convertToDouble +14257E-23 |
| 4073 |
} 0x3c050a246ecd44f3 |
| 4074 |
test expr-28.624 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4075 |
# Ad2b dieee UN -28514 E-23 x -150a246ecd44f2_1111111111111111110& E-62 |
| 4076 |
convertToDouble -28514E-23 |
| 4077 |
} 0xbc150a246ecd44f3 |
| 4078 |
test expr-28.625 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4079 |
# Ad2b dieee UN +57028 E-23 x 150a246ecd44f2_1111111111111111110& E-61 |
| 4080 |
convertToDouble +57028E-23 |
| 4081 |
} 0x3c250a246ecd44f3 |
| 4082 |
test expr-28.626 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4083 |
# Ad2b dieee UN -71285 E-24 x -150a246ecd44f2_1111111111111111110& E-64 |
| 4084 |
convertToDouble -71285E-24 |
| 4085 |
} 0xbbf50a246ecd44f3 |
| 4086 |
test expr-28.627 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4087 |
# Ad2b dieee UN +344863 E27 x 1100c873963d6d_00000000000000000001& E108 |
| 4088 |
convertToDouble +344863E27 |
| 4089 |
} 0x46b100c873963d6d |
| 4090 |
test expr-28.628 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4091 |
# Ad2b dieee UN -951735 E27 x -17764ad224e24a_000000000000000000001& E109 |
| 4092 |
convertToDouble -951735E27 |
| 4093 |
} 0xc6c7764ad224e24a |
| 4094 |
test expr-28.629 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4095 |
# Ad2b dieee UN +200677 E23 x 1035e73135b834_0000000000000000001& E94 |
| 4096 |
convertToDouble +200677E23 |
| 4097 |
} 0x45d035e73135b834 |
| 4098 |
test expr-28.630 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4099 |
# Ad2b dieee UN -401354 E24 x -144360fd832641_0000000000000000001& E98 |
| 4100 |
convertToDouble -401354E24 |
| 4101 |
} 0xc6144360fd832641 |
| 4102 |
test expr-28.631 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4103 |
# Ad2b dieee UN +839604 E-11 x 119b96f36ec68b_00000000000000000000000001& E-17 |
| 4104 |
convertToDouble +839604E-11 |
| 4105 |
} 0x3ee19b96f36ec68b |
| 4106 |
test expr-28.632 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4107 |
# Ad2b dieee UN -209901 E-11 x -119b96f36ec68b_00000000000000000000000001& E-19 |
| 4108 |
convertToDouble -209901E-11 |
| 4109 |
} 0xbec19b96f36ec68b |
| 4110 |
test expr-28.633 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4111 |
# Ad2b dieee UN +419802 E-11 x 119b96f36ec68b_00000000000000000000000001& E-18 |
| 4112 |
convertToDouble +419802E-11 |
| 4113 |
} 0x3ed19b96f36ec68b |
| 4114 |
test expr-28.634 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4115 |
# Ad2b dieee UN -537734 E-24 x -13d6c1088ae40e_0000000000000000000001& E-61 |
| 4116 |
convertToDouble -537734E-24 |
| 4117 |
} 0xbc23d6c1088ae40e |
| 4118 |
test expr-28.635 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4119 |
# Ad2b dieee UN +910308 E26 x 11f3e1839eeab0_11111111111111111111110& E106 |
| 4120 |
convertToDouble +910308E26 |
| 4121 |
} 0x4691f3e1839eeab1 |
| 4122 |
test expr-28.636 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4123 |
# Ad2b dieee UN -227577 E26 x -11f3e1839eeab0_11111111111111111111110& E104 |
| 4124 |
convertToDouble -227577E26 |
| 4125 |
} 0xc671f3e1839eeab1 |
| 4126 |
test expr-28.637 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4127 |
# Ad2b dieee UN +455154 E26 x 11f3e1839eeab0_11111111111111111111110& E105 |
| 4128 |
convertToDouble +455154E26 |
| 4129 |
} 0x4681f3e1839eeab1 |
| 4130 |
test expr-28.638 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4131 |
# Ad2b dieee UN -531013 E25 x -10c17d25834171_11111111111111111111110& E102 |
| 4132 |
convertToDouble -531013E25 |
| 4133 |
} 0xc650c17d25834172 |
| 4134 |
test expr-28.639 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4135 |
# Ad2b dieee UN +963019 E-21 x 11592429784914_11111111111111111111110& E-50 |
| 4136 |
convertToDouble +963019E-21 |
| 4137 |
} 0x3cd1592429784915 |
| 4138 |
test expr-28.640 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4139 |
# Ad2b dieee UN -519827 E-13 x -1be872a8b30d7c_11111111111111111111110& E-25 |
| 4140 |
convertToDouble -519827E-13 |
| 4141 |
} 0xbe6be872a8b30d7d |
| 4142 |
test expr-28.641 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4143 |
# Ad2b dieee UN +623402 E-27 x 178d2c97bde2a0_11111111111111111111110& E-71 |
| 4144 |
convertToDouble +623402E-27 |
| 4145 |
} 0x3b878d2c97bde2a1 |
| 4146 |
test expr-28.642 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4147 |
# Ad2b dieee UN -311701 E-27 x -178d2c97bde2a0_11111111111111111111110& E-72 |
| 4148 |
convertToDouble -311701E-27 |
| 4149 |
} 0xbb778d2c97bde2a1 |
| 4150 |
test expr-28.643 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4151 |
# Ad2b dieee UN +9613651 E26 x 17b31116270d9b_000000000000000000000001& E109 |
| 4152 |
convertToDouble +9613651E26 |
| 4153 |
} 0x46c7b31116270d9b |
| 4154 |
test expr-28.644 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4155 |
# Ad2b dieee UN -9191316 E23 x -1733bfae0801fd_0000000000000000000001& E99 |
| 4156 |
convertToDouble -9191316E23 |
| 4157 |
} 0xc62733bfae0801fd |
| 4158 |
test expr-28.645 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4159 |
# Ad2b dieee UN +4595658 E23 x 1733bfae0801fd_0000000000000000000001& E98 |
| 4160 |
convertToDouble +4595658E23 |
| 4161 |
} 0x461733bfae0801fd |
| 4162 |
test expr-28.646 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4163 |
# Ad2b dieee UN -2297829 E23 x -1733bfae0801fd_0000000000000000000001& E97 |
| 4164 |
convertToDouble -2297829E23 |
| 4165 |
} 0xc60733bfae0801fd |
| 4166 |
test expr-28.647 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4167 |
# Ad2b dieee UN -1679208 E-11 x -119b96f36ec68b_00000000000000000000000001& E-16 |
| 4168 |
convertToDouble -1679208E-11 |
| 4169 |
} 0xbef19b96f36ec68b |
| 4170 |
test expr-28.648 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4171 |
# Ad2b dieee UN +3379223 E27 x 14d3794ce2fc25_1111111111111111111111110& E111 |
| 4172 |
convertToDouble +3379223E27 |
| 4173 |
} 0x46e4d3794ce2fc26 |
| 4174 |
test expr-28.649 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4175 |
# Ad2b dieee UN -6758446 E27 x -14d3794ce2fc25_1111111111111111111111110& E112 |
| 4176 |
convertToDouble -6758446E27 |
| 4177 |
} 0xc6f4d3794ce2fc26 |
| 4178 |
test expr-28.650 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4179 |
# Ad2b dieee UN +5444097 E-21 x 18849dd33c95ae_11111111111111111111111111110& E-48 |
| 4180 |
convertToDouble +5444097E-21 |
| 4181 |
} 0x3cf8849dd33c95af |
| 4182 |
test expr-28.651 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4183 |
# Ad2b dieee UN -8399969 E-27 x -13d5783e85fcf7_1111111111111111111111110& E-67 |
| 4184 |
convertToDouble -8399969E-27 |
| 4185 |
} 0xbbc3d5783e85fcf8 |
| 4186 |
test expr-28.652 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4187 |
# Ad2b dieee UN +8366487 E-16 x 1cbf3d630403af_1111111111111111111111110& E-31 |
| 4188 |
convertToDouble +8366487E-16 |
| 4189 |
} 0x3e0cbf3d630403b0 |
| 4190 |
test expr-28.653 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4191 |
# Ad2b dieee UN -8366487 E-15 x -11f7865de2824d_11111111111111111111111110& E-27 |
| 4192 |
convertToDouble -8366487E-15 |
| 4193 |
} 0xbe41f7865de2824e |
| 4194 |
test expr-28.654 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4195 |
# Ad2b dieee UN +65060671 E25 x 1009e7d474572a_0000000000000000000000000001& E109 |
| 4196 |
convertToDouble +65060671E25 |
| 4197 |
} 0x46c009e7d474572a |
| 4198 |
test expr-28.655 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4199 |
# Ad2b dieee UN +65212389 E23 x 1493d098d37657_000000000000000000000000001& E102 |
| 4200 |
convertToDouble +65212389E23 |
| 4201 |
} 0x465493d098d37657 |
| 4202 |
test expr-28.656 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4203 |
# Ad2b dieee UN +55544957 E-13 x 174c1826f3010c_00000000000000000000000000001& E-18 |
| 4204 |
convertToDouble +55544957E-13 |
| 4205 |
} 0x3ed74c1826f3010c |
| 4206 |
test expr-28.657 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4207 |
# Ad2b dieee UN -51040905 E-20 x -11f55b23c8bf2d_0000000000000000000000000001& E-41 |
| 4208 |
convertToDouble -51040905E-20 |
| 4209 |
} 0xbd61f55b23c8bf2d |
| 4210 |
test expr-28.658 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4211 |
# Ad2b dieee UN +99585767 E-22 x 166cba8699f0f2_0000000000000000000000000001& E-47 |
| 4212 |
convertToDouble +99585767E-22 |
| 4213 |
} 0x3d066cba8699f0f2 |
| 4214 |
test expr-28.659 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4215 |
# Ad2b dieee UN -99585767 E-23 x -11f095387b2728_0000000000000000000000000001& E-50 |
| 4216 |
convertToDouble -99585767E-23 |
| 4217 |
} 0xbcd1f095387b2728 |
| 4218 |
test expr-28.660 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4219 |
# Ad2b dieee UN +40978393 E26 x 1941401cca2bfd_1111111111111111111111111110& E111 |
| 4220 |
convertToDouble +40978393E26 |
| 4221 |
} 0x46e941401cca2bfe |
| 4222 |
test expr-28.661 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4223 |
# Ad2b dieee UN -67488159 E24 x -1a9e90059d12db_11111111111111111111111111110& E105 |
| 4224 |
convertToDouble -67488159E24 |
| 4225 |
} 0xc68a9e90059d12dc |
| 4226 |
test expr-28.662 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4227 |
# Ad2b dieee UN +69005339 E23 x 15c634f6ef1f95_111111111111111111111111110& E102 |
| 4228 |
convertToDouble +69005339E23 |
| 4229 |
} 0x4655c634f6ef1f96 |
| 4230 |
test expr-28.663 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4231 |
# Ad2b dieee UN -81956786 E26 x -1941401cca2bfd_1111111111111111111111111110& E112 |
| 4232 |
convertToDouble -81956786E26 |
| 4233 |
} 0xc6f941401cca2bfe |
| 4234 |
test expr-28.664 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4235 |
# Ad2b dieee UN -87105552 E-21 x -18849dd33c95ae_11111111111111111111111111110& E-44 |
| 4236 |
convertToDouble -87105552E-21 |
| 4237 |
} 0xbd38849dd33c95af |
| 4238 |
test expr-28.665 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4239 |
# Ad2b dieee UN +10888194 E-21 x 18849dd33c95ae_11111111111111111111111111110& E-47 |
| 4240 |
convertToDouble +10888194E-21 |
| 4241 |
} 0x3d08849dd33c95af |
| 4242 |
test expr-28.666 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4243 |
# Ad2b dieee UN -21776388 E-21 x -18849dd33c95ae_11111111111111111111111111110& E-46 |
| 4244 |
convertToDouble -21776388E-21 |
| 4245 |
} 0xbd18849dd33c95af |
| 4246 |
test expr-28.667 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4247 |
# Ad2b dieee UN +635806667 E27 x 1e9cec176c96f8_000000000000000000000000000000001& E118 |
| 4248 |
convertToDouble +635806667E27 |
| 4249 |
} 0x475e9cec176c96f8 |
| 4250 |
test expr-28.668 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4251 |
# Ad2b dieee UN -670026614 E25 x -14a593f89f4194_00000000000000000000000000000001& E112 |
| 4252 |
convertToDouble -670026614E25 |
| 4253 |
} 0xc6f4a593f89f4194 |
| 4254 |
test expr-28.669 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4255 |
# Ad2b dieee UN +335013307 E26 x 19cef8f6c711f9_0000000000000000000000000000001& E114 |
| 4256 |
convertToDouble +335013307E26 |
| 4257 |
} 0x4719cef8f6c711f9 |
| 4258 |
test expr-28.670 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4259 |
# Ad2b dieee UN -335013307 E25 x -14a593f89f4194_00000000000000000000000000000001& E111 |
| 4260 |
convertToDouble -335013307E25 |
| 4261 |
} 0xc6e4a593f89f4194 |
| 4262 |
test expr-28.671 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4263 |
# Ad2b dieee UN +371790617 E-24 x 1aca538c61ba9c_000000000000000000000000000000001& E-52 |
| 4264 |
convertToDouble +371790617E-24 |
| 4265 |
} 0x3cbaca538c61ba9c |
| 4266 |
test expr-28.672 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4267 |
# Ad2b dieee UN -371790617 E-25 x -156ea93d1afbb0_0000000000000000000000000000000001& E-55 |
| 4268 |
convertToDouble -371790617E-25 |
| 4269 |
} 0xbc856ea93d1afbb0 |
| 4270 |
test expr-28.673 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4271 |
# Ad2b dieee UN +743581234 E-24 x 1aca538c61ba9c_000000000000000000000000000000001& E-51 |
| 4272 |
convertToDouble +743581234E-24 |
| 4273 |
} 0x3ccaca538c61ba9c |
| 4274 |
test expr-28.674 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4275 |
# Ad2b dieee UN -743581234 E-25 x -156ea93d1afbb0_0000000000000000000000000000000001& E-54 |
| 4276 |
convertToDouble -743581234E-25 |
| 4277 |
} 0xbc956ea93d1afbb0 |
| 4278 |
test expr-28.675 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4279 |
# Ad2b dieee UN +202464477 E24 x 13f6ec0435ce24_111111111111111111111111111110& E107 |
| 4280 |
convertToDouble +202464477E24 |
| 4281 |
} 0x46a3f6ec0435ce25 |
| 4282 |
test expr-28.676 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4283 |
# Ad2b dieee UN -404928954 E24 x -13f6ec0435ce24_111111111111111111111111111110& E108 |
| 4284 |
convertToDouble -404928954E24 |
| 4285 |
} 0xc6b3f6ec0435ce25 |
| 4286 |
test expr-28.677 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4287 |
# Ad2b dieee UN +997853758 E27 x 1805bfa33b98fa_111111111111111111111111111110& E119 |
| 4288 |
convertToDouble +997853758E27 |
| 4289 |
} 0x476805bfa33b98fb |
| 4290 |
test expr-28.678 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4291 |
# Ad2b dieee UN -997853758 E26 x -1337cc829613fb_111111111111111111111111111110& E116 |
| 4292 |
convertToDouble -997853758E26 |
| 4293 |
} 0xc73337cc829613fc |
| 4294 |
test expr-28.679 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4295 |
# Ad2b dieee UN +405498418 E-17 x 116a8093df66a6_111111111111111111111111111111110& E-28 |
| 4296 |
convertToDouble +405498418E-17 |
| 4297 |
} 0x3e316a8093df66a7 |
| 4298 |
test expr-28.680 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4299 |
# Ad2b dieee UN -582579084 E-14 x -186f653140a658_111111111111111111111111111111110& E-18 |
| 4300 |
convertToDouble -582579084E-14 |
| 4301 |
} 0xbed86f653140a659 |
| 4302 |
test expr-28.681 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4303 |
# Ad2b dieee UN +608247627 E-18 x 14e633e4a5ae61_111111111111111111111111111111110& E-31 |
| 4304 |
convertToDouble +608247627E-18 |
| 4305 |
} 0x3e04e633e4a5ae62 |
| 4306 |
test expr-28.682 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4307 |
# Ad2b dieee UN -291289542 E-14 x -186f653140a658_111111111111111111111111111111110& E-19 |
| 4308 |
convertToDouble -291289542E-14 |
| 4309 |
} 0xbec86f653140a659 |
| 4310 |
test expr-28.683 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4311 |
# Ad2b dieee UN -9537100005 E26 x -16f5b11191713a_000000000000000000000000000000001& E119 |
| 4312 |
convertToDouble -9537100005E26 |
| 4313 |
} 0xc766f5b11191713a |
| 4314 |
test expr-28.684 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4315 |
# Ad2b dieee UN +6358066670 E27 x 1322138ea3de5b_000000000000000000000000000000001& E122 |
| 4316 |
convertToDouble +6358066670E27 |
| 4317 |
} 0x479322138ea3de5b |
| 4318 |
test expr-28.685 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4319 |
# Ad2b dieee UN -1271613334 E27 x -1e9cec176c96f8_000000000000000000000000000000001& E119 |
| 4320 |
convertToDouble -1271613334E27 |
| 4321 |
} 0xc76e9cec176c96f8 |
| 4322 |
test expr-28.686 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4323 |
# Ad2b dieee UN +5229646999 E-16 x 118c3b89731f3d_000000000000000000000000000000000001& E-21 |
| 4324 |
convertToDouble +5229646999E-16 |
| 4325 |
} 0x3ea18c3b89731f3d |
| 4326 |
test expr-28.687 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4327 |
# Ad2b dieee UN +5229646999 E-17 x 1c13927584fec8_00000000000000000000000000000000001& E-25 |
| 4328 |
convertToDouble +5229646999E-17 |
| 4329 |
} 0x3e6c13927584fec8 |
| 4330 |
test expr-28.688 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4331 |
# Ad2b dieee UN +4429943614 E24 x 1b4d37fa06864a_1111111111111111111111111111111110& E111 |
| 4332 |
convertToDouble +4429943614E24 |
| 4333 |
} 0x46eb4d37fa06864b |
| 4334 |
test expr-28.689 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4335 |
# Ad2b dieee UN -8859887228 E24 x -1b4d37fa06864a_1111111111111111111111111111111110& E112 |
| 4336 |
convertToDouble -8859887228E24 |
| 4337 |
} 0xc6fb4d37fa06864b |
| 4338 |
test expr-28.690 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4339 |
# Ad2b dieee UN +2214971807 E24 x 1b4d37fa06864a_1111111111111111111111111111111110& E110 |
| 4340 |
convertToDouble +2214971807E24 |
| 4341 |
} 0x46db4d37fa06864b |
| 4342 |
test expr-28.691 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4343 |
# Ad2b dieee UN -4176887093 E26 x -141c692c5bd07a_111111111111111111111111111111110& E118 |
| 4344 |
convertToDouble -4176887093E26 |
| 4345 |
} 0xc7541c692c5bd07b |
| 4346 |
test expr-28.692 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4347 |
# Ad2b dieee UN +4003495257 E-20 x 16026b2e07ec06_111111111111111111111111111111111110& E-35 |
| 4348 |
convertToDouble +4003495257E-20 |
| 4349 |
} 0x3dc6026b2e07ec07 |
| 4350 |
test expr-28.693 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4351 |
# Ad2b dieee UN -4361901637 E-23 x -188e29a9d7c5b8_11111111111111111111111111111111110& E-45 |
| 4352 |
convertToDouble -4361901637E-23 |
| 4353 |
} 0xbd288e29a9d7c5b9 |
| 4354 |
test expr-28.694 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4355 |
# Ad2b dieee UN +8723803274 E-23 x 188e29a9d7c5b8_11111111111111111111111111111111110& E-44 |
| 4356 |
convertToDouble +8723803274E-23 |
| 4357 |
} 0x3d388e29a9d7c5b9 |
| 4358 |
test expr-28.695 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4359 |
# Ad2b dieee UN -8006990514 E-20 x -16026b2e07ec06_111111111111111111111111111111111110& E-34 |
| 4360 |
convertToDouble -8006990514E-20 |
| 4361 |
} 0xbdd6026b2e07ec07 |
| 4362 |
test expr-28.696 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4363 |
# Ad2b dieee UN +72835110098 E27 x 1b65c41711fb6d_0000000000000000000000000000000000001& E125 |
| 4364 |
convertToDouble +72835110098E27 |
| 4365 |
} 0x47cb65c41711fb6d |
| 4366 |
test expr-28.697 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4367 |
# Ad2b dieee UN -36417555049 E27 x -1b65c41711fb6d_0000000000000000000000000000000000001& E124 |
| 4368 |
convertToDouble -36417555049E27 |
| 4369 |
} 0xc7bb65c41711fb6d |
| 4370 |
test expr-28.698 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4371 |
# Ad2b dieee UN +84279630104 E25 x 144a221b1cf62e_000000000000000000000000000000000001& E119 |
| 4372 |
convertToDouble +84279630104E25 |
| 4373 |
} 0x47644a221b1cf62e |
| 4374 |
test expr-28.699 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4375 |
# Ad2b dieee UN -84279630104 E24 x -103b4e7c172b58_000000000000000000000000000000000001& E116 |
| 4376 |
convertToDouble -84279630104E24 |
| 4377 |
} 0xc7303b4e7c172b58 |
| 4378 |
test expr-28.700 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4379 |
# Ad2b dieee UN +21206176437 E-27 x 1872f563ae0cc9_0000000000000000000000000000000000001& E-56 |
| 4380 |
convertToDouble +21206176437E-27 |
| 4381 |
} 0x3c7872f563ae0cc9 |
| 4382 |
test expr-28.701 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4383 |
# Ad2b dieee UN -66461566917 E-22 x -1d3ae83e4322b3_00000000000000000000000000000000000001& E-38 |
| 4384 |
convertToDouble -66461566917E-22 |
| 4385 |
} 0xbd9d3ae83e4322b3 |
| 4386 |
test expr-28.702 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4387 |
# Ad2b dieee UN +64808355539 E-16 x 1b2ebe83265fbf_00000000000000000000000000000000000001& E-18 |
| 4388 |
convertToDouble +64808355539E-16 |
| 4389 |
} 0x3edb2ebe83265fbf |
| 4390 |
test expr-28.703 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4391 |
# Ad2b dieee UN -84932679673 E-19 x -123d39339f1bf6_00000000000000000000000000000000000001& E-27 |
| 4392 |
convertToDouble -84932679673E-19 |
| 4393 |
} 0xbe423d39339f1bf6 |
| 4394 |
test expr-28.704 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4395 |
# Ad2b dieee UN +65205430094 E26 x 139f3e5d7fd76a_1111111111111111111111111111111111110& E122 |
| 4396 |
convertToDouble +65205430094E26 |
| 4397 |
} 0x47939f3e5d7fd76b |
| 4398 |
test expr-28.705 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4399 |
# Ad2b dieee UN -68384463429 E25 x -107684982f634e_1111111111111111111111111111111111111110& E119 |
| 4400 |
convertToDouble -68384463429E25 |
| 4401 |
} 0xc7607684982f634f |
| 4402 |
test expr-28.706 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4403 |
# Ad2b dieee UN +32602715047 E26 x 139f3e5d7fd76a_1111111111111111111111111111111111110& E121 |
| 4404 |
convertToDouble +32602715047E26 |
| 4405 |
} 0x47839f3e5d7fd76b |
| 4406 |
test expr-28.707 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4407 |
# Ad2b dieee UN -62662203426 E27 x -1792269424688d_111111111111111111111111111111111110& E125 |
| 4408 |
convertToDouble -62662203426E27 |
| 4409 |
} 0xc7c792269424688e |
| 4410 |
test expr-28.708 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4411 |
# Ad2b dieee UN +58784444678 E-18 x 1f8f45c64b4682_111111111111111111111111111111111111110& E-25 |
| 4412 |
convertToDouble +58784444678E-18 |
| 4413 |
} 0x3e6f8f45c64b4683 |
| 4414 |
test expr-28.709 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4415 |
# Ad2b dieee UN -50980203373 E-21 x -1c06d366394440_11111111111111111111111111111111111111111110& E-35 |
| 4416 |
convertToDouble -50980203373E-21 |
| 4417 |
} 0xbdcc06d366394441 |
| 4418 |
test expr-28.710 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4419 |
# Ad2b dieee UN +29392222339 E-18 x 1f8f45c64b4682_111111111111111111111111111111111111110& E-26 |
| 4420 |
convertToDouble +29392222339E-18 |
| 4421 |
} 0x3e5f8f45c64b4683 |
| 4422 |
test expr-28.711 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4423 |
# Ad2b dieee UN -75529940323 E-27 x -15c5203c0aad52_1111111111111111111111111111111111111110& E-54 |
| 4424 |
convertToDouble -75529940323E-27 |
| 4425 |
} 0xbc95c5203c0aad53 |
| 4426 |
test expr-28.712 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4427 |
# Ad2b dieee UN -937495906299 E26 x -11a1e0ebb6af11_000000000000000000000000000000000000000001& E126 |
| 4428 |
convertToDouble -937495906299E26 |
| 4429 |
} 0xc7d1a1e0ebb6af11 |
| 4430 |
test expr-28.713 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4431 |
# Ad2b dieee UN +842642485799 E-20 x 121879decdd7cb_000000000000000000000000000000000000000001& E-27 |
| 4432 |
convertToDouble +842642485799E-20 |
| 4433 |
} 0x3e421879decdd7cb |
| 4434 |
test expr-28.714 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4435 |
# Ad2b dieee UN -387824150699 E-23 x -110e8302245571_00000000000000000000000000000000000000001& E-38 |
| 4436 |
convertToDouble -387824150699E-23 |
| 4437 |
} 0xbd910e8302245571 |
| 4438 |
test expr-28.715 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4439 |
# Ad2b dieee UN +924948814726 E-27 x 10a992d1fc6ded_00000000000000000000000000000000000000001& E-50 |
| 4440 |
convertToDouble +924948814726E-27 |
| 4441 |
} 0x3cd0a992d1fc6ded |
| 4442 |
test expr-28.716 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4443 |
# Ad2b dieee UN -775648301398 E-23 x -110e8302245571_00000000000000000000000000000000000000001& E-37 |
| 4444 |
convertToDouble -775648301398E-23 |
| 4445 |
} 0xbda10e8302245571 |
| 4446 |
test expr-28.717 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4447 |
# Ad2b dieee UN +547075707432 E25 x 107684982f634e_1111111111111111111111111111111111111110& E122 |
| 4448 |
convertToDouble +547075707432E25 |
| 4449 |
} 0x47907684982f634f |
| 4450 |
test expr-28.718 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4451 |
# Ad2b dieee UN +683844634290 E24 x 107684982f634e_1111111111111111111111111111111111111110& E119 |
| 4452 |
convertToDouble +683844634290E24 |
| 4453 |
} 0x47607684982f634f |
| 4454 |
test expr-28.719 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4455 |
# Ad2b dieee UN -136768926858 E25 x -107684982f634e_1111111111111111111111111111111111111110& E120 |
| 4456 |
convertToDouble -136768926858E25 |
| 4457 |
} 0xc7707684982f634f |
| 4458 |
test expr-28.720 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4459 |
# Ad2b dieee UN +509802033730 E-22 x 1c06d366394440_11111111111111111111111111111111111111111110& E-35 |
| 4460 |
convertToDouble +509802033730E-22 |
| 4461 |
} 0x3dcc06d366394441 |
| 4462 |
test expr-28.721 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4463 |
# Ad2b dieee UN +101960406746 E-21 x 1c06d366394440_11111111111111111111111111111111111111111110& E-34 |
| 4464 |
convertToDouble +101960406746E-21 |
| 4465 |
} 0x3ddc06d366394441 |
| 4466 |
test expr-28.722 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4467 |
# Ad2b dieee UN -815683253968 E-21 x -1c06d366394440_11111111111111111111111111111111111111111110& E-31 |
| 4468 |
convertToDouble -815683253968E-21 |
| 4469 |
} 0xbe0c06d366394441 |
| 4470 |
test expr-28.723 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4471 |
# Ad2b dieee UN +7344124123524 E24 x 1619b519dd6833_00000000000000000000000000000000000000000001& E122 |
| 4472 |
convertToDouble +7344124123524E24 |
| 4473 |
} 0x479619b519dd6833 |
| 4474 |
test expr-28.724 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4475 |
# Ad2b dieee UN -9180155154405 E23 x -1619b519dd6833_00000000000000000000000000000000000000000001& E119 |
| 4476 |
convertToDouble -9180155154405E23 |
| 4477 |
} 0xc76619b519dd6833 |
| 4478 |
test expr-28.725 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4479 |
# Ad2b dieee UN +6479463327323 E27 x 130a9b3e9bd05e_00000000000000000000000000000000000000000001& E132 |
| 4480 |
convertToDouble +6479463327323E27 |
| 4481 |
} 0x48330a9b3e9bd05e |
| 4482 |
test expr-28.726 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4483 |
# Ad2b dieee UN -1836031030881 E24 x -1619b519dd6833_00000000000000000000000000000000000000000001& E120 |
| 4484 |
convertToDouble -1836031030881E24 |
| 4485 |
} 0xc77619b519dd6833 |
| 4486 |
test expr-28.727 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4487 |
# Ad2b dieee UN +4337269293039 E-19 x 1d1b5f354c63d6_00000000000000000000000000000000000000000001& E-22 |
| 4488 |
convertToDouble +4337269293039E-19 |
| 4489 |
} 0x3e9d1b5f354c63d6 |
| 4490 |
test expr-28.728 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4491 |
# Ad2b dieee UN -4599163554373 E-23 x -1948bf4d34088d_00000000000000000000000000000000000000000001& E-35 |
| 4492 |
convertToDouble -4599163554373E-23 |
| 4493 |
} 0xbdc948bf4d34088d |
| 4494 |
test expr-28.729 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4495 |
# Ad2b dieee UN +9198327108746 E-23 x 1948bf4d34088d_00000000000000000000000000000000000000000001& E-34 |
| 4496 |
convertToDouble +9198327108746E-23 |
| 4497 |
} 0x3dd948bf4d34088d |
| 4498 |
test expr-28.730 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4499 |
# Ad2b dieee UN +4812803938347 E27 x 1c4980a4ee94ce_111111111111111111111111111111111111111111110& E131 |
| 4500 |
convertToDouble +4812803938347E27 |
| 4501 |
} 0x482c4980a4ee94cf |
| 4502 |
test expr-28.731 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4503 |
# Ad2b dieee UN -8412030890011 E23 x -14405075e52db9_11111111111111111111111111111111111111111110& E119 |
| 4504 |
convertToDouble -8412030890011E23 |
| 4505 |
} 0xc764405075e52dba |
| 4506 |
test expr-28.732 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4507 |
# Ad2b dieee UN +9625607876694 E27 x 1c4980a4ee94ce_111111111111111111111111111111111111111111110& E132 |
| 4508 |
convertToDouble +9625607876694E27 |
| 4509 |
} 0x483c4980a4ee94cf |
| 4510 |
test expr-28.733 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4511 |
# Ad2b dieee UN -4739968828249 E24 x -1c87140cdf8a1d_1111111111111111111111111111111111111111110& E121 |
| 4512 |
convertToDouble -4739968828249E24 |
| 4513 |
} 0xc78c87140cdf8a1e |
| 4514 |
test expr-28.734 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4515 |
# Ad2b dieee UN +9697183891673 E-23 x 1aa7c959b6a666_11111111111111111111111111111111111111111111110& E-34 |
| 4516 |
convertToDouble +9697183891673E-23 |
| 4517 |
} 0x3ddaa7c959b6a667 |
| 4518 |
test expr-28.735 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4519 |
# Ad2b dieee UN -7368108517543 E-20 x -13c7535bbd85a1_1111111111111111111111111111111111111111111110& E-24 |
| 4520 |
convertToDouble -7368108517543E-20 |
| 4521 |
} 0xbe73c7535bbd85a2 |
| 4522 |
test expr-28.736 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4523 |
# Ad2b dieee UN +51461358161422 E25 x 18326f87d4cae0_0000000000000000000000000000000000000000000000001& E128 |
| 4524 |
convertToDouble +51461358161422E25 |
| 4525 |
} 0x47f8326f87d4cae0 |
| 4526 |
test expr-28.737 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4527 |
# Ad2b dieee UN -77192037242133 E26 x -16af488f577e32_0000000000000000000000000000000000000000000000001& E132 |
| 4528 |
convertToDouble -77192037242133E26 |
| 4529 |
} 0xc836af488f577e32 |
| 4530 |
test expr-28.738 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4531 |
# Ad2b dieee UN +77192037242133 E25 x 1225d3a5df9828_0000000000000000000000000000000000000000000000001& E129 |
| 4532 |
convertToDouble +77192037242133E25 |
| 4533 |
} 0x480225d3a5df9828 |
| 4534 |
test expr-28.739 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4535 |
# Ad2b dieee UN -51461358161422 E27 x -12e767221e3e7f_0000000000000000000000000000000000000000000000001& E135 |
| 4536 |
convertToDouble -51461358161422E27 |
| 4537 |
} 0xc862e767221e3e7f |
| 4538 |
test expr-28.740 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4539 |
# Ad2b dieee UN +43999661561541 E-21 x 179f4476d372a3_0000000000000000000000000000000000000000000000001& E-25 |
| 4540 |
convertToDouble +43999661561541E-21 |
| 4541 |
} 0x3e679f4476d372a3 |
| 4542 |
test expr-28.741 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4543 |
# Ad2b dieee UN -87999323123082 E-21 x -179f4476d372a3_0000000000000000000000000000000000000000000000001& E-24 |
| 4544 |
convertToDouble -87999323123082E-21 |
| 4545 |
} 0xbe779f4476d372a3 |
| 4546 |
test expr-28.742 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4547 |
# Ad2b dieee UN +48374886826137 E-26 x 110538f23350d5_00000000000000000000000000000000000000000000001& E-41 |
| 4548 |
convertToDouble +48374886826137E-26 |
| 4549 |
} 0x3d610538f23350d5 |
| 4550 |
test expr-28.743 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4551 |
# Ad2b dieee UN -57684246567111 E-23 x -13d1f5c1b8a912_00000000000000000000000000000000000000000000001& E-31 |
| 4552 |
convertToDouble -57684246567111E-23 |
| 4553 |
} 0xbe03d1f5c1b8a912 |
| 4554 |
test expr-28.744 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4555 |
# Ad2b dieee UN +87192805957686 E23 x 1a3d16e55a9664_1111111111111111111111111111111111111111111110& E122 |
| 4556 |
convertToDouble +87192805957686E23 |
| 4557 |
} 0x479a3d16e55a9665 |
| 4558 |
test expr-28.745 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4559 |
# Ad2b dieee UN -75108713005913 E24 x -1c40b4baa79655_11111111111111111111111111111111111111111111110& E125 |
| 4560 |
convertToDouble -75108713005913E24 |
| 4561 |
} 0xc7cc40b4baa79656 |
| 4562 |
test expr-28.746 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4563 |
# Ad2b dieee UN +64233110587487 E27 x 179873e38669a6_1111111111111111111111111111111111111111111110& E135 |
| 4564 |
convertToDouble +64233110587487E27 |
| 4565 |
} 0x48679873e38669a7 |
| 4566 |
test expr-28.747 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4567 |
# Ad2b dieee UN -77577471133384 E-23 x -1aa7c959b6a666_11111111111111111111111111111111111111111111110& E-31 |
| 4568 |
convertToDouble -77577471133384E-23 |
| 4569 |
} 0xbe0aa7c959b6a667 |
| 4570 |
test expr-28.748 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4571 |
# Ad2b dieee UN +48485919458365 E-24 x 1aa7c959b6a666_11111111111111111111111111111111111111111111110& E-35 |
| 4572 |
convertToDouble +48485919458365E-24 |
| 4573 |
} 0x3dcaa7c959b6a667 |
| 4574 |
test expr-28.749 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4575 |
# Ad2b dieee UN -56908598265713 E-26 x -1405deef4bdef5_111111111111111111111111111111111111111111111110& E-41 |
| 4576 |
convertToDouble -56908598265713E-26 |
| 4577 |
} 0xbd6405deef4bdef6 |
| 4578 |
test expr-28.750 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4579 |
# Ad2b dieee UN +589722294620133 E23 x 162ed1b287caef_00000000000000000000000000000000000000000000000001& E125 |
| 4580 |
convertToDouble +589722294620133E23 |
| 4581 |
} 0x47c62ed1b287caef |
| 4582 |
test expr-28.751 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4583 |
# Ad2b dieee UN +652835804449289 E-22 x 118640e490b087_0000000000000000000000000000000000000000000000000001& E-24 |
| 4584 |
convertToDouble +652835804449289E-22 |
| 4585 |
} 0x3e718640e490b087 |
| 4586 |
test expr-28.752 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4587 |
# Ad2b dieee UN -656415363936202 E-23 x -1c315cfe25d201_00000000000000000000000000000000000000000000000001& E-28 |
| 4588 |
convertToDouble -656415363936202E-23 |
| 4589 |
} 0xbe3c315cfe25d201 |
| 4590 |
test expr-28.753 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4591 |
# Ad2b dieee UN +579336749585745 E-25 x 1fd9709d9aeb19_00000000000000000000000000000000000000000000000001& E-35 |
| 4592 |
convertToDouble +579336749585745E-25 |
| 4593 |
} 0x3dcfd9709d9aeb19 |
| 4594 |
test expr-28.754 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4595 |
# Ad2b dieee UN -381292764980839 E-26 x -10c4f9921c3f8f_00000000000000000000000000000000000000000000000001& E-38 |
| 4596 |
convertToDouble -381292764980839E-26 |
| 4597 |
} 0xbd90c4f9921c3f8f |
| 4598 |
test expr-28.755 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4599 |
# Ad2b dieee UN +965265859649698 E23 x 12279607edcb0c_1111111111111111111111111111111111111111111111110& E126 |
| 4600 |
convertToDouble +965265859649698E23 |
| 4601 |
} 0x47d2279607edcb0d |
| 4602 |
test expr-28.756 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4603 |
# Ad2b dieee UN -848925235434882 E27 x -137d88ba4b43e3_1111111111111111111111111111111111111111111111111110& E139 |
| 4604 |
convertToDouble -848925235434882E27 |
| 4605 |
} 0xc8a37d88ba4b43e4 |
| 4606 |
test expr-28.757 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4607 |
# Ad2b dieee UN +536177612222491 E23 x 142b33dd3acafd_11111111111111111111111111111111111111111111111110& E125 |
| 4608 |
convertToDouble +536177612222491E23 |
| 4609 |
} 0x47c42b33dd3acafe |
| 4610 |
test expr-28.758 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4611 |
# Ad2b dieee UN -424462617717441 E27 x -137d88ba4b43e3_1111111111111111111111111111111111111111111111111110& E138 |
| 4612 |
convertToDouble -424462617717441E27 |
| 4613 |
} 0xc8937d88ba4b43e4 |
| 4614 |
test expr-28.759 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4615 |
# Ad2b dieee UN +276009279888989 E-27 x 136c242313c288_111111111111111111111111111111111111111111111111110& E-42 |
| 4616 |
convertToDouble +276009279888989E-27 |
| 4617 |
} 0x3d536c242313c289 |
| 4618 |
test expr-28.760 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4619 |
# Ad2b dieee UN -608927158043691 E-26 x -1ac7e909c22f09_11111111111111111111111111111111111111111111111110& E-38 |
| 4620 |
convertToDouble -608927158043691E-26 |
| 4621 |
} 0xbd9ac7e909c22f0a |
| 4622 |
test expr-28.761 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4623 |
# Ad2b dieee UN +552018559777978 E-27 x 136c242313c288_111111111111111111111111111111111111111111111111110& E-41 |
| 4624 |
convertToDouble +552018559777978E-27 |
| 4625 |
} 0x3d636c242313c289 |
| 4626 |
test expr-28.762 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4627 |
# Ad2b dieee UN -425678377667758 E-22 x -16da7aa49bdcd5_1111111111111111111111111111111111111111111111110& E-25 |
| 4628 |
convertToDouble -425678377667758E-22 |
| 4629 |
} 0xbe66da7aa49bdcd6 |
| 4630 |
test expr-28.763 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4631 |
# Ad2b dieee UN +8013702726927119 E26 x 126607f8f1b29e_00000000000000000000000000000000000000000000000000001& E139 |
| 4632 |
convertToDouble +8013702726927119E26 |
| 4633 |
} 0x48a26607f8f1b29e |
| 4634 |
test expr-28.764 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4635 |
# Ad2b dieee UN +8862627962362001 E27 x 196f3b0e7787c2_00000000000000000000000000000000000000000000000000001& E142 |
| 4636 |
convertToDouble +8862627962362001E27 |
| 4637 |
} 0x48d96f3b0e7787c2 |
| 4638 |
test expr-28.765 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4639 |
# Ad2b dieee UN -5068007907757162 E26 x -17456a27848397_00000000000000000000000000000000000000000000000000001& E138 |
| 4640 |
convertToDouble -5068007907757162E26 |
| 4641 |
} 0xc897456a27848397 |
| 4642 |
test expr-28.766 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4643 |
# Ad2b dieee UN -7379714799828406 E-23 x -13cf4d2839e036_00000000000000000000000000000000000000000000000000001& E-24 |
| 4644 |
convertToDouble -7379714799828406E-23 |
| 4645 |
} 0xbe73cf4d2839e036 |
| 4646 |
test expr-28.767 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4647 |
# Ad2b dieee UN +4114538064016107 E-27 x 12188eda98010c_0000000000000000000000000000000000000000000000000001& E-38 |
| 4648 |
convertToDouble +4114538064016107E-27 |
| 4649 |
} 0x3d92188eda98010c |
| 4650 |
test expr-28.768 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4651 |
# Ad2b dieee UN -3689857399914203 E-23 x -13cf4d2839e036_00000000000000000000000000000000000000000000000000001& E-25 |
| 4652 |
convertToDouble -3689857399914203E-23 |
| 4653 |
} 0xbe63cf4d2839e036 |
| 4654 |
test expr-28.769 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4655 |
# Ad2b dieee UN +5575954851815478 E23 x 1a37cfbf2ffdb5_1111111111111111111111111111111111111111111111111110& E128 |
| 4656 |
convertToDouble +5575954851815478E23 |
| 4657 |
} 0x47fa37cfbf2ffdb6 |
| 4658 |
test expr-28.770 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4659 |
# Ad2b dieee UN +3395700941739528 E27 x 137d88ba4b43e3_1111111111111111111111111111111111111111111111111110& E141 |
| 4660 |
convertToDouble +3395700941739528E27 |
| 4661 |
} 0x48c37d88ba4b43e4 |
| 4662 |
test expr-28.771 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4663 |
# Ad2b dieee UN +4115535777581961 E-23 x 1618596be30fe4_111111111111111111111111111111111111111111111111111110& E-25 |
| 4664 |
convertToDouble +4115535777581961E-23 |
| 4665 |
} 0x3e6618596be30fe5 |
| 4666 |
test expr-28.772 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4667 |
# Ad2b dieee UN -8231071555163922 E-23 x -1618596be30fe4_111111111111111111111111111111111111111111111111111110& E-24 |
| 4668 |
convertToDouble -8231071555163922E-23 |
| 4669 |
} 0xbe7618596be30fe5 |
| 4670 |
test expr-28.773 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4671 |
# Ad2b dieee UN +6550246696190871 E-26 x 1201538b0f8c69_111111111111111111111111111111111111111111111111111110& E-34 |
| 4672 |
convertToDouble +6550246696190871E-26 |
| 4673 |
} 0x3dd201538b0f8c6a |
| 4674 |
test expr-28.774 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4675 |
# Ad2b dieee UN -68083046403986701 E27 x -186c70ba8ba28d_000000000000000000000000000000000000000000000000000000001& E145 |
| 4676 |
convertToDouble -68083046403986701E27 |
| 4677 |
} 0xc9086c70ba8ba28d |
| 4678 |
test expr-28.775 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4679 |
# Ad2b dieee UN +43566388595783643 E27 x 1f41e1bf48b03f_111111111111111111111111111111111111111111111111111111110& E144 |
| 4680 |
convertToDouble +43566388595783643E27 |
| 4681 |
} 0x48ff41e1bf48b040 |
| 4682 |
test expr-28.776 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4683 |
# Ad2b dieee UN -87132777191567286 E27 x -1f41e1bf48b03f_111111111111111111111111111111111111111111111111111111110& E145 |
| 4684 |
convertToDouble -87132777191567286E27 |
| 4685 |
} 0xc90f41e1bf48b040 |
| 4686 |
test expr-28.777 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4687 |
# Ad2b dieee UN +59644881059342141 E25 x 1b6338d9d8ae38_11111111111111111111111111111111111111111111111111111110& E138 |
| 4688 |
convertToDouble +59644881059342141E25 |
| 4689 |
} 0x489b6338d9d8ae39 |
| 4690 |
test expr-28.778 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4691 |
# Ad2b dieee UN -83852770718576667 E23 x -18a4619ed6f442_111111111111111111111111111111111111111111111111111111110& E132 |
| 4692 |
convertToDouble -83852770718576667E23 |
| 4693 |
} 0xc838a4619ed6f443 |
| 4694 |
test expr-28.779 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4695 |
# Ad2b dieee UN +99482967418206961 E-25 x 155d224bfed7ac_11111111111111111111111111111111111111111111111111111111110& E-27 |
| 4696 |
convertToDouble +99482967418206961E-25 |
| 4697 |
} 0x3e455d224bfed7ad |
| 4698 |
test expr-28.780 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4699 |
# Ad2b dieee UN -99482967418206961 E-26 x -11174ea3324623_11111111111111111111111111111111111111111111111111111111110& E-30 |
| 4700 |
convertToDouble -99482967418206961E-26 |
| 4701 |
} 0xbe11174ea3324624 |
| 4702 |
test expr-28.781 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4703 |
# Ad2b dieee UN +87446669969994614 E-27 x 1809832942376d_11111111111111111111111111111111111111111111111111111110& E-34 |
| 4704 |
convertToDouble +87446669969994614E-27 |
| 4705 |
} 0x3dd809832942376e |
| 4706 |
test expr-28.782 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4707 |
# Ad2b dieee UN -43723334984997307 E-27 x -1809832942376d_11111111111111111111111111111111111111111111111111111110& E-35 |
| 4708 |
convertToDouble -43723334984997307E-27 |
| 4709 |
} 0xbdc809832942376e |
| 4710 |
test expr-28.783 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4711 |
# Ad2b dieee UN +5 E24 x 108b2a2c280290_1001& E82 |
| 4712 |
convertToDouble +5E24 |
| 4713 |
} 0x45108b2a2c280291 |
| 4714 |
test expr-28.784 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4715 |
# Ad2b dieee UN -8 E25 x -108b2a2c280290_1001& E86 |
| 4716 |
convertToDouble -8E25 |
| 4717 |
} 0xc5508b2a2c280291 |
| 4718 |
test expr-28.785 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4719 |
# Ad2b dieee UN +1 E25 x 108b2a2c280290_1001& E83 |
| 4720 |
convertToDouble +1E25 |
| 4721 |
} 0x45208b2a2c280291 |
| 4722 |
test expr-28.786 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4723 |
# Ad2b dieee UN -4 E25 x -108b2a2c280290_1001& E85 |
| 4724 |
convertToDouble -4E25 |
| 4725 |
} 0xc5408b2a2c280291 |
| 4726 |
test expr-28.787 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4727 |
# Ad2b dieee UN +2 E-5 x 14f8b588e368f0_100001& E-16 |
| 4728 |
convertToDouble +2E-5 |
| 4729 |
} 0x3ef4f8b588e368f1 |
| 4730 |
test expr-28.788 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4731 |
# Ad2b dieee UN -5 E-6 x -14f8b588e368f0_100001& E-18 |
| 4732 |
convertToDouble -5E-6 |
| 4733 |
} 0xbed4f8b588e368f1 |
| 4734 |
test expr-28.789 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4735 |
# Ad2b dieee UN +4 E-5 x 14f8b588e368f0_100001& E-15 |
| 4736 |
convertToDouble +4E-5 |
| 4737 |
} 0x3f04f8b588e368f1 |
| 4738 |
test expr-28.790 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4739 |
# Ad2b dieee UN -3 E-20 x -11b578c96db19a_100001& E-65 |
| 4740 |
convertToDouble -3E-20 |
| 4741 |
} 0xbbe1b578c96db19b |
| 4742 |
test expr-28.791 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4743 |
# Ad2b dieee UN +3 E27 x 1363156bbee301_0110& E91 |
| 4744 |
convertToDouble +3E27 |
| 4745 |
} 0x45a363156bbee301 |
| 4746 |
test expr-28.792 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4747 |
# Ad2b dieee UN -9 E26 x -1743b34e18439b_010& E89 |
| 4748 |
convertToDouble -9E26 |
| 4749 |
} 0xc58743b34e18439b |
| 4750 |
test expr-28.793 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4751 |
# Ad2b dieee UN +7 E25 x 1cf389cd46047d_00& E85 |
| 4752 |
convertToDouble +7E25 |
| 4753 |
} 0x454cf389cd46047d |
| 4754 |
test expr-28.794 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4755 |
# Ad2b dieee UN -6 E27 x -1363156bbee301_0110& E92 |
| 4756 |
convertToDouble -6E27 |
| 4757 |
} 0xc5b363156bbee301 |
| 4758 |
test expr-28.795 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4759 |
# Ad2b dieee UN +2 E-21 x 12e3b40a0e9b4f_0111110& E-69 |
| 4760 |
convertToDouble +2E-21 |
| 4761 |
} 0x3ba2e3b40a0e9b4f |
| 4762 |
test expr-28.796 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4763 |
# Ad2b dieee UN -5 E-22 x -12e3b40a0e9b4f_0111110& E-71 |
| 4764 |
convertToDouble -5E-22 |
| 4765 |
} 0xbb82e3b40a0e9b4f |
| 4766 |
test expr-28.797 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4767 |
# Ad2b dieee UN -4 E-21 x -12e3b40a0e9b4f_0111110& E-68 |
| 4768 |
convertToDouble -4E-21 |
| 4769 |
} 0xbbb2e3b40a0e9b4f |
| 4770 |
test expr-28.798 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4771 |
# Ad2b dieee UN +87 E25 x 167d2d5406637c_10001& E89 |
| 4772 |
convertToDouble +87E25 |
| 4773 |
} 0x45867d2d5406637d |
| 4774 |
test expr-28.799 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4775 |
# Ad2b dieee UN -97 E24 x -140f232256e982_1000000001& E86 |
| 4776 |
convertToDouble -97E24 |
| 4777 |
} 0xc5540f232256e983 |
| 4778 |
test expr-28.800 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4779 |
# Ad2b dieee UN +82 E-24 x 18c87154dff6c6_1000000001& E-74 |
| 4780 |
convertToDouble +82E-24 |
| 4781 |
} 0x3b58c87154dff6c7 |
| 4782 |
test expr-28.801 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4783 |
# Ad2b dieee UN -41 E-24 x -18c87154dff6c6_1000000001& E-75 |
| 4784 |
convertToDouble -41E-24 |
| 4785 |
} 0xbb48c87154dff6c7 |
| 4786 |
test expr-28.802 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4787 |
# Ad2b dieee UN +76 E-23 x 1cb644dc1633c0_10000001& E-71 |
| 4788 |
convertToDouble +76E-23 |
| 4789 |
} 0x3b8cb644dc1633c1 |
| 4790 |
test expr-28.803 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4791 |
# Ad2b dieee UN +83 E25 x 15747ab143e353_011111111110& E89 |
| 4792 |
convertToDouble +83E25 |
| 4793 |
} 0x4585747ab143e353 |
| 4794 |
test expr-28.804 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4795 |
# Ad2b dieee UN -50 E27 x -1431e0fae6d721_0111110& E95 |
| 4796 |
convertToDouble -50E27 |
| 4797 |
} 0xc5e431e0fae6d721 |
| 4798 |
test expr-28.805 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4799 |
# Ad2b dieee UN +25 E27 x 1431e0fae6d721_0111110& E94 |
| 4800 |
convertToDouble +25E27 |
| 4801 |
} 0x45d431e0fae6d721 |
| 4802 |
test expr-28.806 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4803 |
# Ad2b dieee UN -99 E27 x -13fe2e171cda19_011110& E96 |
| 4804 |
convertToDouble -99E27 |
| 4805 |
} 0xc5f3fe2e171cda19 |
| 4806 |
test expr-28.807 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4807 |
# Ad2b dieee UN +97 E-10 x 14d4a1a3157dc7_011111110& E-27 |
| 4808 |
convertToDouble +97E-10 |
| 4809 |
} 0x3e44d4a1a3157dc7 |
| 4810 |
test expr-28.808 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4811 |
# Ad2b dieee UN -57 E-20 x -15077f6f3242e7_011111110& E-61 |
| 4812 |
convertToDouble -57E-20 |
| 4813 |
} 0xbc25077f6f3242e7 |
| 4814 |
test expr-28.809 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4815 |
# Ad2b dieee UN +997 E23 x 149e12f51c1a3c_10000000001& E86 |
| 4816 |
convertToDouble +997E23 |
| 4817 |
} 0x45549e12f51c1a3d |
| 4818 |
test expr-28.810 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4819 |
# Ad2b dieee UN +776 E24 x 140f232256e982_1000000001& E89 |
| 4820 |
convertToDouble +776E24 |
| 4821 |
} 0x45840f232256e983 |
| 4822 |
test expr-28.811 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4823 |
# Ad2b dieee UN -388 E24 x -140f232256e982_1000000001& E88 |
| 4824 |
convertToDouble -388E24 |
| 4825 |
} 0xc5740f232256e983 |
| 4826 |
test expr-28.812 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4827 |
# Ad2b dieee UN +521 E-10 x 1bf891c92c0890_100000000001& E-25 |
| 4828 |
convertToDouble +521E-10 |
| 4829 |
} 0x3e6bf891c92c0891 |
| 4830 |
test expr-28.813 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4831 |
# Ad2b dieee UN -506 E-26 x -1877fa0260beb2_10000000001& E-78 |
| 4832 |
convertToDouble -506E-26 |
| 4833 |
} 0xbb1877fa0260beb3 |
| 4834 |
test expr-28.814 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4835 |
# Ad2b dieee UN +739 E-10 x 13d65e8c76722c_10000000001& E-24 |
| 4836 |
convertToDouble +739E-10 |
| 4837 |
} 0x3e73d65e8c76722d |
| 4838 |
test expr-28.815 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4839 |
# Ad2b dieee UN -867 E-7 x -16ba56a8834168_100000000001& E-14 |
| 4840 |
convertToDouble -867E-7 |
| 4841 |
} 0xbf16ba56a8834169 |
| 4842 |
test expr-28.816 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4843 |
# Ad2b dieee UN -415 E24 x -15747ab143e353_011111111110& E88 |
| 4844 |
convertToDouble -415E24 |
| 4845 |
} 0xc575747ab143e353 |
| 4846 |
test expr-28.817 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4847 |
# Ad2b dieee UN +332 E25 x 15747ab143e353_011111111110& E91 |
| 4848 |
convertToDouble +332E25 |
| 4849 |
} 0x45a5747ab143e353 |
| 4850 |
test expr-28.818 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4851 |
# Ad2b dieee UN -664 E25 x -15747ab143e353_011111111110& E92 |
| 4852 |
convertToDouble -664E25 |
| 4853 |
} 0xc5b5747ab143e353 |
| 4854 |
test expr-28.819 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4855 |
# Ad2b dieee UN +291 E-13 x 1ffeebfc8b81b5_01111111111110& E-36 |
| 4856 |
convertToDouble +291E-13 |
| 4857 |
} 0x3dbffeebfc8b81b5 |
| 4858 |
test expr-28.820 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4859 |
# Ad2b dieee UN -982 E-8 x -14981285e98e79_0111111111110& E-17 |
| 4860 |
convertToDouble -982E-8 |
| 4861 |
} 0xbee4981285e98e79 |
| 4862 |
test expr-28.821 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4863 |
# Ad2b dieee UN +582 E-13 x 1ffeebfc8b81b5_01111111111110& E-35 |
| 4864 |
convertToDouble +582E-13 |
| 4865 |
} 0x3dcffeebfc8b81b5 |
| 4866 |
test expr-28.822 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4867 |
# Ad2b dieee UN -491 E-8 x -14981285e98e79_0111111111110& E-18 |
| 4868 |
convertToDouble -491E-8 |
| 4869 |
} 0xbed4981285e98e79 |
| 4870 |
test expr-28.823 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4871 |
# Ad2b dieee UN +4574 E26 x 1717c1a612f954_100000000001& E98 |
| 4872 |
convertToDouble +4574E26 |
| 4873 |
} 0x461717c1a612f955 |
| 4874 |
test expr-28.824 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4875 |
# Ad2b dieee UN -8609 E26 x -15bb6f942546ee_1000000000001& E99 |
| 4876 |
convertToDouble -8609E26 |
| 4877 |
} 0xc625bb6f942546ef |
| 4878 |
test expr-28.825 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4879 |
# Ad2b dieee UN +2287 E26 x 1717c1a612f954_100000000001& E97 |
| 4880 |
convertToDouble +2287E26 |
| 4881 |
} 0x460717c1a612f955 |
| 4882 |
test expr-28.826 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4883 |
# Ad2b dieee UN -4818 E24 x -1f22b65eb419a0_10000000001& E91 |
| 4884 |
convertToDouble -4818E24 |
| 4885 |
} 0xc5af22b65eb419a1 |
| 4886 |
test expr-28.827 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4887 |
# Ad2b dieee UN +6529 E-8 x 111d89a8b5c142_100000000000001& E-14 |
| 4888 |
convertToDouble +6529E-8 |
| 4889 |
} 0x3f111d89a8b5c143 |
| 4890 |
test expr-28.828 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4891 |
# Ad2b dieee UN -8151 E-21 x -12cb804b61b898_1000000000000001& E-57 |
| 4892 |
convertToDouble -8151E-21 |
| 4893 |
} 0xbc62cb804b61b899 |
| 4894 |
test expr-28.829 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4895 |
# Ad2b dieee UN +1557 E-12 x 1abfc227ab1026_10000000000001& E-30 |
| 4896 |
convertToDouble +1557E-12 |
| 4897 |
} 0x3e1abfc227ab1027 |
| 4898 |
test expr-28.830 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4899 |
# Ad2b dieee UN -2573 E-18 x -172cef1ebbca44_10000000000001& E-49 |
| 4900 |
convertToDouble -2573E-18 |
| 4901 |
} 0xbce72cef1ebbca45 |
| 4902 |
test expr-28.831 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4903 |
# Ad2b dieee UN +4929 E-16 x 1157a604ed019f_0111111111111110& E-41 |
| 4904 |
convertToDouble +4929E-16 |
| 4905 |
} 0x3d6157a604ed019f |
| 4906 |
test expr-28.832 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4907 |
# Ad2b dieee UN -3053 E-22 x -1686f435fe6b6b_011111111111110& E-62 |
| 4908 |
convertToDouble -3053E-22 |
| 4909 |
} 0xbc1686f435fe6b6b |
| 4910 |
test expr-28.833 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4911 |
# Ad2b dieee UN +9858 E-16 x 1157a604ed019f_0111111111111110& E-40 |
| 4912 |
convertToDouble +9858E-16 |
| 4913 |
} 0x3d7157a604ed019f |
| 4914 |
test expr-28.834 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4915 |
# Ad2b dieee UN -7767 E-11 x -14d971170ed055_011111111111110& E-24 |
| 4916 |
convertToDouble -7767E-11 |
| 4917 |
} 0xbe74d971170ed055 |
| 4918 |
test expr-28.835 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4919 |
# Ad2b dieee UN +54339 E26 x 1125782ec15cbe_100000000000000001& E102 |
| 4920 |
convertToDouble +54339E26 |
| 4921 |
} 0x465125782ec15cbf |
| 4922 |
test expr-28.836 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4923 |
# Ad2b dieee UN -62409 E25 x -1f822c980d4bb2_100000000000000001& E98 |
| 4924 |
convertToDouble -62409E25 |
| 4925 |
} 0xc61f822c980d4bb3 |
| 4926 |
test expr-28.837 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4927 |
# Ad2b dieee UN +32819 E27 x 19e3be885fc16a_100000000000001& E104 |
| 4928 |
convertToDouble +32819E27 |
| 4929 |
} 0x4679e3be885fc16b |
| 4930 |
test expr-28.838 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4931 |
# Ad2b dieee UN -89849 E27 x -11b8371b6dda04_1000000000000001& E106 |
| 4932 |
convertToDouble -89849E27 |
| 4933 |
} 0xc691b8371b6dda05 |
| 4934 |
test expr-28.839 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4935 |
# Ad2b dieee UN +63876 E-20 x 1703856844bdbe_1000000000000000000001& E-51 |
| 4936 |
convertToDouble +63876E-20 |
| 4937 |
} 0x3cc703856844bdbf |
| 4938 |
test expr-28.840 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4939 |
# Ad2b dieee UN -15969 E-20 x -1703856844bdbe_1000000000000000000001& E-53 |
| 4940 |
convertToDouble -15969E-20 |
| 4941 |
} 0xbca703856844bdbf |
| 4942 |
test expr-28.841 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4943 |
# Ad2b dieee UN +31938 E-20 x 1703856844bdbe_1000000000000000000001& E-52 |
| 4944 |
convertToDouble +31938E-20 |
| 4945 |
} 0x3cb703856844bdbf |
| 4946 |
test expr-28.842 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4947 |
# Ad2b dieee UN -79845 E-21 x -1703856844bdbe_1000000000000000000001& E-54 |
| 4948 |
convertToDouble -79845E-21 |
| 4949 |
} 0xbc9703856844bdbf |
| 4950 |
test expr-28.843 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4951 |
# Ad2b dieee UN +89306 E27 x 119cccff237e17_011111111111110& E106 |
| 4952 |
convertToDouble +89306E27 |
| 4953 |
} 0x46919cccff237e17 |
| 4954 |
test expr-28.844 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4955 |
# Ad2b dieee UN -25487 E24 x -1496968ba07117_01111111111110& E94 |
| 4956 |
convertToDouble -25487E24 |
| 4957 |
} 0xc5d496968ba07117 |
| 4958 |
test expr-28.845 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4959 |
# Ad2b dieee UN +79889 E24 x 10222a1c7e27d3_01111111111110& E96 |
| 4960 |
convertToDouble +79889E24 |
| 4961 |
} 0x45f0222a1c7e27d3 |
| 4962 |
test expr-28.846 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4963 |
# Ad2b dieee UN -97379 E26 x -1eba3685911519_011111111111111110& E102 |
| 4964 |
convertToDouble -97379E26 |
| 4965 |
} 0xc65eba3685911519 |
| 4966 |
test expr-28.847 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4967 |
# Ad2b dieee UN +81002 E-8 x 1a8af0b45d9531_0111111111111111110& E-11 |
| 4968 |
convertToDouble +81002E-8 |
| 4969 |
} 0x3f4a8af0b45d9531 |
| 4970 |
test expr-28.848 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4971 |
# Ad2b dieee UN -43149 E-25 x -146064de6ecbed_011111111111111110& E-68 |
| 4972 |
convertToDouble -43149E-25 |
| 4973 |
} 0xbbb46064de6ecbed |
| 4974 |
test expr-28.849 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4975 |
# Ad2b dieee UN +40501 E-8 x 1a8af0b45d9531_0111111111111111110& E-12 |
| 4976 |
convertToDouble +40501E-8 |
| 4977 |
} 0x3f3a8af0b45d9531 |
| 4978 |
test expr-28.850 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4979 |
# Ad2b dieee UN -60318 E-10 x -194c988f217e51_011111111111111110& E-18 |
| 4980 |
convertToDouble -60318E-10 |
| 4981 |
} 0xbed94c988f217e51 |
| 4982 |
test expr-28.851 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4983 |
# Ad2b dieee UN -648299 E27 x -1ff6af0bf00100_10000000000000000001& E108 |
| 4984 |
convertToDouble -648299E27 |
| 4985 |
} 0xc6bff6af0bf00101 |
| 4986 |
test expr-28.852 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4987 |
# Ad2b dieee UN +780649 E24 x 13b4d36f9edd18_10000000000000000001& E99 |
| 4988 |
convertToDouble +780649E24 |
| 4989 |
} 0x4623b4d36f9edd19 |
| 4990 |
test expr-28.853 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4991 |
# Ad2b dieee UN +720919 E-14 x 1ef696965cbf04_10000000000000000000000001& E-28 |
| 4992 |
convertToDouble +720919E-14 |
| 4993 |
} 0x3e3ef696965cbf05 |
| 4994 |
test expr-28.854 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4995 |
# Ad2b dieee UN -629703 E-11 x -1a69626d2629d0_1000000000000000000000001& E-18 |
| 4996 |
convertToDouble -629703E-11 |
| 4997 |
} 0xbeda69626d2629d1 |
| 4998 |
test expr-28.855 {input floating-point conversion} {ieeeFloatingPoint} { |
| 4999 |
# Ad2b dieee UN +557913 E24 x 1c2adb44b394bf_01111111111111111110& E98 |
| 5000 |
convertToDouble +557913E24 |
| 5001 |
} 0x461c2adb44b394bf |
| 5002 |
test expr-28.856 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5003 |
# Ad2b dieee UN -847899 E23 x -111f88fb93dce9_011111111111111111110& E96 |
| 5004 |
convertToDouble -847899E23 |
| 5005 |
} 0xc5f11f88fb93dce9 |
| 5006 |
test expr-28.857 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5007 |
# Ad2b dieee UN +565445 E27 x 1be0eb55770d4d_0111111111111111110& E108 |
| 5008 |
convertToDouble +565445E27 |
| 5009 |
} 0x46bbe0eb55770d4d |
| 5010 |
test expr-28.858 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5011 |
# Ad2b dieee UN -736531 E24 x -1297b853d64ac7_01111111111111111110& E99 |
| 5012 |
convertToDouble -736531E24 |
| 5013 |
} 0xc62297b853d64ac7 |
| 5014 |
test expr-28.859 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5015 |
# Ad2b dieee UN +680013 E-19 x 13240293e95c3b_01111111111111111111110& E-44 |
| 5016 |
convertToDouble +680013E-19 |
| 5017 |
} 0x3d33240293e95c3b |
| 5018 |
test expr-28.860 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5019 |
# Ad2b dieee UN -529981 E-10 x -1bc948d999ac11_011111111111111111110& E-15 |
| 5020 |
convertToDouble -529981E-10 |
| 5021 |
} 0xbf0bc948d999ac11 |
| 5022 |
test expr-28.861 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5023 |
# Ad2b dieee UN +382923 E-23 x 11a8c1c10a1fc5_011111111111111111110& E-58 |
| 5024 |
convertToDouble +382923E-23 |
| 5025 |
} 0x3c51a8c1c10a1fc5 |
| 5026 |
test expr-28.862 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5027 |
# Ad2b dieee UN -633614 E-18 x -164b166995a9b7_011111111111111111110& E-41 |
| 5028 |
convertToDouble -633614E-18 |
| 5029 |
} 0xbd664b166995a9b7 |
| 5030 |
test expr-28.863 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5031 |
# Ad2b dieee UN +2165479 E27 x 1ab10c016c34b8_100000000000000000000001& E110 |
| 5032 |
convertToDouble +2165479E27 |
| 5033 |
} 0x46dab10c016c34b9 |
| 5034 |
test expr-28.864 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5035 |
# Ad2b dieee UN -8661916 E27 x -1ab10c016c34b8_100000000000000000000001& E112 |
| 5036 |
convertToDouble -8661916E27 |
| 5037 |
} 0xc6fab10c016c34b9 |
| 5038 |
test expr-28.865 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5039 |
# Ad2b dieee UN +4330958 E27 x 1ab10c016c34b8_100000000000000000000001& E111 |
| 5040 |
convertToDouble +4330958E27 |
| 5041 |
} 0x46eab10c016c34b9 |
| 5042 |
test expr-28.866 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5043 |
# Ad2b dieee UN -9391993 E22 x -12f78bec748c98_1000000000000000000001& E96 |
| 5044 |
convertToDouble -9391993E22 |
| 5045 |
} 0xc5f2f78bec748c99 |
| 5046 |
test expr-28.867 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5047 |
# Ad2b dieee UN -5767352 E-14 x -1ef696965cbf04_10000000000000000000000001& E-25 |
| 5048 |
convertToDouble -5767352E-14 |
| 5049 |
} 0xbe6ef696965cbf05 |
| 5050 |
test expr-28.868 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5051 |
# Ad2b dieee UN +7209190 E-15 x 1ef696965cbf04_10000000000000000000000001& E-28 |
| 5052 |
convertToDouble +7209190E-15 |
| 5053 |
} 0x3e3ef696965cbf05 |
| 5054 |
test expr-28.869 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5055 |
# Ad2b dieee UN -1441838 E-14 x -1ef696965cbf04_10000000000000000000000001& E-27 |
| 5056 |
convertToDouble -1441838E-14 |
| 5057 |
} 0xbe4ef696965cbf05 |
| 5058 |
test expr-28.870 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5059 |
# Ad2b dieee UN +8478990 E22 x 111f88fb93dce9_011111111111111111110& E96 |
| 5060 |
convertToDouble +8478990E22 |
| 5061 |
} 0x45f11f88fb93dce9 |
| 5062 |
test expr-28.871 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5063 |
# Ad2b dieee UN +1473062 E24 x 1297b853d64ac7_01111111111111111110& E100 |
| 5064 |
convertToDouble +1473062E24 |
| 5065 |
} 0x463297b853d64ac7 |
| 5066 |
test expr-28.872 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5067 |
# Ad2b dieee UN +8366487 E-14 x 167567f55b22e1_0111111111111111111111110& E-24 |
| 5068 |
convertToDouble +8366487E-14 |
| 5069 |
} 0x3e767567f55b22e1 |
| 5070 |
test expr-28.873 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5071 |
# Ad2b dieee UN -8399969 E-25 x -1efd8be1b15b43_011111111111111111111110& E-61 |
| 5072 |
convertToDouble -8399969E-25 |
| 5073 |
} 0xbc2efd8be1b15b43 |
| 5074 |
test expr-28.874 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5075 |
# Ad2b dieee UN +9366737 E-12 x 13a4ba87ddc13f_011111111111111111111110& E-17 |
| 5076 |
convertToDouble +9366737E-12 |
| 5077 |
} 0x3ee3a4ba87ddc13f |
| 5078 |
test expr-28.875 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5079 |
# Ad2b dieee UN -9406141 E-13 x -1f8fd047c84d49_0111111111111111111111110& E-21 |
| 5080 |
convertToDouble -9406141E-13 |
| 5081 |
} 0xbeaf8fd047c84d49 |
| 5082 |
test expr-28.876 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5083 |
# Ad2b dieee UN +65970979 E24 x 1a055dd68f3e3c_1000000000000000000000000001& E105 |
| 5084 |
convertToDouble +65970979E24 |
| 5085 |
} 0x468a055dd68f3e3d |
| 5086 |
test expr-28.877 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5087 |
# Ad2b dieee UN -65060671 E26 x -140c61c9916cf4_100000000000000000000000001& E112 |
| 5088 |
convertToDouble -65060671E26 |
| 5089 |
} 0xc6f40c61c9916cf5 |
| 5090 |
test expr-28.878 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5091 |
# Ad2b dieee UN +54923002 E27 x 1527d37d8b38ea_10000000000000000000000001& E115 |
| 5092 |
convertToDouble +54923002E27 |
| 5093 |
} 0x472527d37d8b38eb |
| 5094 |
test expr-28.879 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5095 |
# Ad2b dieee UN -63846927 E25 x -1f7a9d79dad9b4_10000000000000000000000001& E108 |
| 5096 |
convertToDouble -63846927E25 |
| 5097 |
} 0xc6bf7a9d79dad9b5 |
| 5098 |
test expr-28.880 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5099 |
# Ad2b dieee UN +99585767 E-21 x 1c07e928406d2e_100000000000000000000000001& E-44 |
| 5100 |
convertToDouble +99585767E-21 |
| 5101 |
} 0x3d3c07e928406d2f |
| 5102 |
test expr-28.881 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5103 |
# Ad2b dieee UN +67488159 E25 x 10a31a03822bc9_011111111111111111111111111110& E109 |
| 5104 |
convertToDouble +67488159E25 |
| 5105 |
} 0x46c0a31a03822bc9 |
| 5106 |
test expr-28.882 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5107 |
# Ad2b dieee UN -69005339 E24 x -1b37c234aae77b_011111111111111111111111110& E105 |
| 5108 |
convertToDouble -69005339E24 |
| 5109 |
} 0xc68b37c234aae77b |
| 5110 |
test expr-28.883 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5111 |
# Ad2b dieee UN +81956786 E27 x 1f919023fcb6fd_0111111111111111111111111110& E115 |
| 5112 |
convertToDouble +81956786E27 |
| 5113 |
} 0x472f919023fcb6fd |
| 5114 |
test expr-28.884 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5115 |
# Ad2b dieee UN -40978393 E27 x -1f919023fcb6fd_0111111111111111111111111110& E114 |
| 5116 |
convertToDouble -40978393E27 |
| 5117 |
} 0xc71f919023fcb6fd |
| 5118 |
test expr-28.885 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5119 |
# Ad2b dieee UN +77505754 E-12 x 145152b6f85e09_0111111111111111111111111110& E-14 |
| 5120 |
convertToDouble +77505754E-12 |
| 5121 |
} 0x3f145152b6f85e09 |
| 5122 |
test expr-28.886 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5123 |
# Ad2b dieee UN -38752877 E-12 x -145152b6f85e09_0111111111111111111111111110& E-15 |
| 5124 |
convertToDouble -38752877E-12 |
| 5125 |
} 0xbf045152b6f85e09 |
| 5126 |
test expr-28.887 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5127 |
# Ad2b dieee UN +82772981 E-15 x 16381dae63505f_0111111111111111111111111111110& E-24 |
| 5128 |
convertToDouble +82772981E-15 |
| 5129 |
} 0x3e76381dae63505f |
| 5130 |
test expr-28.888 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5131 |
# Ad2b dieee UN -95593517 E-25 x -160ad862d8537d_0111111111111111111111111110& E-57 |
| 5132 |
convertToDouble -95593517E-25 |
| 5133 |
} 0xbc660ad862d8537d |
| 5134 |
test expr-28.889 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5135 |
# Ad2b dieee UN +200036989 E25 x 18a80dedbc575e_10000000000000000000000000001& E110 |
| 5136 |
convertToDouble +200036989E25 |
| 5137 |
} 0x46d8a80dedbc575f |
| 5138 |
test expr-28.890 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5139 |
# Ad2b dieee UN -772686455 E27 x -129a0c45ceca7a_1000000000000000000000000000001& E119 |
| 5140 |
convertToDouble -772686455E27 |
| 5141 |
} 0xc7629a0c45ceca7b |
| 5142 |
test expr-28.891 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5143 |
# Ad2b dieee UN +859139907 E23 x 10f18c4dd0ffe2_10000000000000000000000000001& E106 |
| 5144 |
convertToDouble +859139907E23 |
| 5145 |
} 0x4690f18c4dd0ffe3 |
| 5146 |
test expr-28.892 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5147 |
# Ad2b dieee UN -400073978 E25 x -18a80dedbc575e_10000000000000000000000000001& E111 |
| 5148 |
convertToDouble -400073978E25 |
| 5149 |
} 0xc6e8a80dedbc575f |
| 5150 |
test expr-28.893 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5151 |
# Ad2b dieee UN +569014327 E-14 x 17ddbeac19d3b2_100000000000000000000000000001& E-18 |
| 5152 |
convertToDouble +569014327E-14 |
| 5153 |
} 0x3ed7ddbeac19d3b3 |
| 5154 |
test expr-28.894 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5155 |
# Ad2b dieee UN -794263862 E-15 x -1aa6acb41dfc52_1000000000000000000000000000001& E-21 |
| 5156 |
convertToDouble -794263862E-15 |
| 5157 |
} 0xbeaaa6acb41dfc53 |
| 5158 |
test expr-28.895 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5159 |
# Ad2b dieee UN +397131931 E-15 x 1aa6acb41dfc52_1000000000000000000000000000001& E-22 |
| 5160 |
convertToDouble +397131931E-15 |
| 5161 |
} 0x3e9aa6acb41dfc53 |
| 5162 |
test expr-28.896 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5163 |
# Ad2b dieee UN -380398957 E-16 x -146c29d8331024_100000000000000000000000000001& E-25 |
| 5164 |
convertToDouble -380398957E-16 |
| 5165 |
} 0xbe646c29d8331025 |
| 5166 |
test expr-28.897 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5167 |
# Ad2b dieee UN +567366773 E27 x 1b5155dd5417f9_0111111111111111111111111111110& E118 |
| 5168 |
convertToDouble +567366773E27 |
| 5169 |
} 0x475b5155dd5417f9 |
| 5170 |
test expr-28.898 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5171 |
# Ad2b dieee UN -337440795 E24 x -10a31a03822bc9_011111111111111111111111111110& E108 |
| 5172 |
convertToDouble -337440795E24 |
| 5173 |
} 0xc6b0a31a03822bc9 |
| 5174 |
test expr-28.899 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5175 |
# Ad2b dieee UN +134976318 E25 x 10a31a03822bc9_011111111111111111111111111110& E110 |
| 5176 |
convertToDouble +134976318E25 |
| 5177 |
} 0x46d0a31a03822bc9 |
| 5178 |
test expr-28.900 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5179 |
# Ad2b dieee UN -269952636 E25 x -10a31a03822bc9_011111111111111111111111111110& E111 |
| 5180 |
convertToDouble -269952636E25 |
| 5181 |
} 0xc6e0a31a03822bc9 |
| 5182 |
test expr-28.901 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5183 |
# Ad2b dieee UN +932080597 E-20 x 147f25b4941e5b_0111111111111111111111111111110& E-37 |
| 5184 |
convertToDouble +932080597E-20 |
| 5185 |
} 0x3da47f25b4941e5b |
| 5186 |
test expr-28.902 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5187 |
# Ad2b dieee UN -331091924 E-15 x -16381dae63505f_0111111111111111111111111111110& E-22 |
| 5188 |
convertToDouble -331091924E-15 |
| 5189 |
} 0xbe96381dae63505f |
| 5190 |
test expr-28.903 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5191 |
# Ad2b dieee UN -413864905 E-16 x -16381dae63505f_0111111111111111111111111111110& E-25 |
| 5192 |
convertToDouble -413864905E-16 |
| 5193 |
} 0xbe66381dae63505f |
| 5194 |
test expr-28.904 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5195 |
# Ad2b dieee UN +8539246247 E26 x 148eb7813eaeba_10000000000000000000000000000001& E119 |
| 5196 |
convertToDouble +8539246247E26 |
| 5197 |
} 0x47648eb7813eaebb |
| 5198 |
test expr-28.905 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5199 |
# Ad2b dieee UN -5859139791 E26 x -1c35f28719d478_10000000000000000000000000000001& E118 |
| 5200 |
convertToDouble -5859139791E26 |
| 5201 |
} 0xc75c35f28719d479 |
| 5202 |
test expr-28.906 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5203 |
# Ad2b dieee UN +6105010149 E24 x 12d000fb2b138a_1000000000000000000000000000000001& E112 |
| 5204 |
convertToDouble +6105010149E24 |
| 5205 |
} 0x46f2d000fb2b138b |
| 5206 |
test expr-28.907 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5207 |
# Ad2b dieee UN -3090745820 E27 x -129a0c45ceca7a_1000000000000000000000000000001& E121 |
| 5208 |
convertToDouble -3090745820E27 |
| 5209 |
} 0xc7829a0c45ceca7b |
| 5210 |
test expr-28.908 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5211 |
# Ad2b dieee UN +3470877773 E-20 x 1314d381f2c31e_1000000000000000000000000000000001& E-35 |
| 5212 |
convertToDouble +3470877773E-20 |
| 5213 |
} 0x3dc314d381f2c31f |
| 5214 |
test expr-28.909 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5215 |
# Ad2b dieee UN -6136309089 E-27 x -1c4c799fab4328_1000000000000000000000000000000001& E-58 |
| 5216 |
convertToDouble -6136309089E-27 |
| 5217 |
} 0xbc5c4c799fab4329 |
| 5218 |
test expr-28.910 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5219 |
# Ad2b dieee UN +8917758713 E-19 x 1ea424bda7d7f4_100000000000000000000000000000001& E-31 |
| 5220 |
convertToDouble +8917758713E-19 |
| 5221 |
} 0x3e0ea424bda7d7f5 |
| 5222 |
test expr-28.911 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5223 |
# Ad2b dieee UN -6941755546 E-20 x -1314d381f2c31e_1000000000000000000000000000000001& E-34 |
| 5224 |
convertToDouble -6941755546E-20 |
| 5225 |
} 0xbdd314d381f2c31f |
| 5226 |
test expr-28.912 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5227 |
# Ad2b dieee UN +9194900535 E25 x 11b56f9c090dfb_011111111111111111111111111111111110& E116 |
| 5228 |
convertToDouble +9194900535E25 |
| 5229 |
} 0x4731b56f9c090dfb |
| 5230 |
test expr-28.913 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5231 |
# Ad2b dieee UN -1838980107 E26 x -11b56f9c090dfb_011111111111111111111111111111111110& E117 |
| 5232 |
convertToDouble -1838980107E26 |
| 5233 |
} 0xc741b56f9c090dfb |
| 5234 |
test expr-28.914 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5235 |
# Ad2b dieee UN +7355920428 E26 x 11b56f9c090dfb_011111111111111111111111111111111110& E119 |
| 5236 |
convertToDouble +7355920428E26 |
| 5237 |
} 0x4761b56f9c090dfb |
| 5238 |
test expr-28.915 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5239 |
# Ad2b dieee UN -3677960214 E26 x -11b56f9c090dfb_011111111111111111111111111111111110& E118 |
| 5240 |
convertToDouble -3677960214E26 |
| 5241 |
} 0xc751b56f9c090dfb |
| 5242 |
test expr-28.916 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5243 |
# Ad2b dieee UN +8473634343 E-17 x 16bf0984b232b7_0111111111111111111111111111111110& E-24 |
| 5244 |
convertToDouble +8473634343E-17 |
| 5245 |
} 0x3e76bf0984b232b7 |
| 5246 |
test expr-28.917 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5247 |
# Ad2b dieee UN -8870766274 E-16 x -1dc3ee22137269_0111111111111111111111111111111110& E-21 |
| 5248 |
convertToDouble -8870766274E-16 |
| 5249 |
} 0xbeadc3ee22137269 |
| 5250 |
test expr-28.918 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5251 |
# Ad2b dieee UN +4435383137 E-16 x 1dc3ee22137269_0111111111111111111111111111111110& E-22 |
| 5252 |
convertToDouble +4435383137E-16 |
| 5253 |
} 0x3e9dc3ee22137269 |
| 5254 |
test expr-28.919 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5255 |
# Ad2b dieee UN -9598990129 E-15 x -14216b286031e7_01111111111111111111111111111111110& E-17 |
| 5256 |
convertToDouble -9598990129E-15 |
| 5257 |
} 0xbee4216b286031e7 |
| 5258 |
test expr-28.920 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5259 |
# Ad2b dieee UN +71563496764 E26 x 15890d1ef6a0da_10000000000000000000000000000000000001& E122 |
| 5260 |
convertToDouble +71563496764E26 |
| 5261 |
} 0x4795890d1ef6a0db |
| 5262 |
test expr-28.921 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5263 |
# Ad2b dieee UN -89454370955 E25 x -15890d1ef6a0da_10000000000000000000000000000000000001& E119 |
| 5264 |
convertToDouble -89454370955E25 |
| 5265 |
} 0xc765890d1ef6a0db |
| 5266 |
test expr-28.922 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5267 |
# Ad2b dieee UN +17890874191 E26 x 15890d1ef6a0da_10000000000000000000000000000000000001& E120 |
| 5268 |
convertToDouble +17890874191E26 |
| 5269 |
} 0x4775890d1ef6a0db |
| 5270 |
test expr-28.923 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5271 |
# Ad2b dieee UN -35781748382 E26 x -15890d1ef6a0da_10000000000000000000000000000000000001& E121 |
| 5272 |
convertToDouble -35781748382E26 |
| 5273 |
} 0xc785890d1ef6a0db |
| 5274 |
test expr-28.924 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5275 |
# Ad2b dieee UN +57973447842 E-19 x 18e63f7cf5313c_1000000000000000000000000000000000000001& E-28 |
| 5276 |
convertToDouble +57973447842E-19 |
| 5277 |
} 0x3e38e63f7cf5313d |
| 5278 |
test expr-28.925 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5279 |
# Ad2b dieee UN -28986723921 E-19 x -18e63f7cf5313c_1000000000000000000000000000000000000001& E-29 |
| 5280 |
convertToDouble -28986723921E-19 |
| 5281 |
} 0xbe28e63f7cf5313d |
| 5282 |
test expr-28.926 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5283 |
# Ad2b dieee UN +76822711313 E-19 x 107f5f8b3bf818_100000000000000000000000000000000001& E-27 |
| 5284 |
convertToDouble +76822711313E-19 |
| 5285 |
} 0x3e407f5f8b3bf819 |
| 5286 |
test expr-28.927 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5287 |
# Ad2b dieee UN -97699466874 E-20 x -10c8de34de806e_10000000000000000000000000000000001& E-30 |
| 5288 |
convertToDouble -97699466874E-20 |
| 5289 |
} 0xbe10c8de34de806f |
| 5290 |
test expr-28.928 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5291 |
# Ad2b dieee UN +67748656762 E27 x 197bf5559b31fd_01111111111111111111111111111111111110& E125 |
| 5292 |
convertToDouble +67748656762E27 |
| 5293 |
} 0x47c97bf5559b31fd |
| 5294 |
test expr-28.929 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5295 |
# Ad2b dieee UN -19394840991 E24 x -1de1ea791a6e7d_0111111111111111111111111111111111110& E113 |
| 5296 |
convertToDouble -19394840991E24 |
| 5297 |
} 0xc70de1ea791a6e7d |
| 5298 |
test expr-28.930 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5299 |
# Ad2b dieee UN +38789681982 E24 x 1de1ea791a6e7d_0111111111111111111111111111111111110& E114 |
| 5300 |
convertToDouble +38789681982E24 |
| 5301 |
} 0x471de1ea791a6e7d |
| 5302 |
test expr-28.931 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5303 |
# Ad2b dieee UN -33874328381 E27 x -197bf5559b31fd_01111111111111111111111111111111111110& E124 |
| 5304 |
convertToDouble -33874328381E27 |
| 5305 |
} 0xc7b97bf5559b31fd |
| 5306 |
test expr-28.932 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5307 |
# Ad2b dieee UN +54323763886 E-27 x 1f50c5c63e5441_0111111111111111111111111111111111110& E-55 |
| 5308 |
convertToDouble +54323763886E-27 |
| 5309 |
} 0x3c8f50c5c63e5441 |
| 5310 |
test expr-28.933 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5311 |
# Ad2b dieee UN -58987193887 E-20 x -14449185a4c829_011111111111111111111111111111111111110& E-31 |
| 5312 |
convertToDouble -58987193887E-20 |
| 5313 |
} 0xbe04449185a4c829 |
| 5314 |
test expr-28.934 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5315 |
# Ad2b dieee UN +27161881943 E-27 x 1f50c5c63e5441_0111111111111111111111111111111111110& E-56 |
| 5316 |
convertToDouble +27161881943E-27 |
| 5317 |
} 0x3c7f50c5c63e5441 |
| 5318 |
test expr-28.935 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5319 |
# Ad2b dieee UN -93042648033 E-19 x -13fb12dc023fd3_0111111111111111111111111111111111110& E-27 |
| 5320 |
convertToDouble -93042648033E-19 |
| 5321 |
} 0xbe43fb12dc023fd3 |
| 5322 |
test expr-28.936 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5323 |
# Ad2b dieee UN +520831059055 E27 x 187d469cb69dd0_10000000000000000000000000000000000000001& E128 |
| 5324 |
convertToDouble +520831059055E27 |
| 5325 |
} 0x47f87d469cb69dd1 |
| 5326 |
test expr-28.937 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5327 |
# Ad2b dieee UN -768124264394 E25 x -171d6a019edae8_1000000000000000000000000000000000000001& E122 |
| 5328 |
convertToDouble -768124264394E25 |
| 5329 |
} 0xc7971d6a019edae9 |
| 5330 |
test expr-28.938 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5331 |
# Ad2b dieee UN +384062132197 E25 x 171d6a019edae8_1000000000000000000000000000000000000001& E121 |
| 5332 |
convertToDouble +384062132197E25 |
| 5333 |
} 0x47871d6a019edae9 |
| 5334 |
test expr-28.939 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5335 |
# Ad2b dieee UN +765337749889 E-25 x 158ad6f5d0a854_100000000000000000000000000000000000000001& E-44 |
| 5336 |
convertToDouble +765337749889E-25 |
| 5337 |
} 0x3d358ad6f5d0a855 |
| 5338 |
test expr-28.940 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5339 |
# Ad2b dieee UN +794368912771 E25 x 17e79872f2f7ef_01111111111111111111111111111111111111110& E122 |
| 5340 |
convertToDouble +794368912771E25 |
| 5341 |
} 0x4797e79872f2f7ef |
| 5342 |
test expr-28.941 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5343 |
# Ad2b dieee UN -994162090146 E23 x -132598f85e658b_011111111111111111111111111111111111110& E116 |
| 5344 |
convertToDouble -994162090146E23 |
| 5345 |
} 0xc7332598f85e658b |
| 5346 |
test expr-28.942 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5347 |
# Ad2b dieee UN +781652779431 E26 x 1d670adf52038f_01111111111111111111111111111111111110& E125 |
| 5348 |
convertToDouble +781652779431E26 |
| 5349 |
} 0x47cd670adf52038f |
| 5350 |
test expr-28.943 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5351 |
# Ad2b dieee UN +910077190046 E-26 x 147e3ce1871d79_01111111111111111111111111111111111111110& E-47 |
| 5352 |
convertToDouble +910077190046E-26 |
| 5353 |
} 0x3d047e3ce1871d79 |
| 5354 |
test expr-28.944 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5355 |
# Ad2b dieee UN -455038595023 E-26 x -147e3ce1871d79_01111111111111111111111111111111111111110& E-48 |
| 5356 |
convertToDouble -455038595023E-26 |
| 5357 |
} 0xbcf47e3ce1871d79 |
| 5358 |
test expr-28.945 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5359 |
# Ad2b dieee UN +471897551096 E-20 x 14449185a4c829_011111111111111111111111111111111111110& E-28 |
| 5360 |
convertToDouble +471897551096E-20 |
| 5361 |
} 0x3e34449185a4c829 |
| 5362 |
test expr-28.946 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5363 |
# Ad2b dieee UN -906698409911 E-21 x -1f27674f7d5745_0111111111111111111111111111111111111110& E-31 |
| 5364 |
convertToDouble -906698409911E-21 |
| 5365 |
} 0xbe0f27674f7d5745 |
| 5366 |
test expr-28.947 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5367 |
# Ad2b dieee UN +8854128003935 E25 x 10a71b8948faac_100000000000000000000000000000000000000001& E126 |
| 5368 |
convertToDouble +8854128003935E25 |
| 5369 |
} 0x47d0a71b8948faad |
| 5370 |
test expr-28.948 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5371 |
# Ad2b dieee UN -8146122716299 E27 x -17f0762ac05654_1000000000000000000000000000000000000000001& E132 |
| 5372 |
convertToDouble -8146122716299E27 |
| 5373 |
} 0xc837f0762ac05655 |
| 5374 |
test expr-28.949 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5375 |
# Ad2b dieee UN +7083302403148 E26 x 10a71b8948faac_100000000000000000000000000000000000000001& E129 |
| 5376 |
convertToDouble +7083302403148E26 |
| 5377 |
} 0x4800a71b8948faad |
| 5378 |
test expr-28.950 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5379 |
# Ad2b dieee UN -3541651201574 E26 x -10a71b8948faac_100000000000000000000000000000000000000001& E128 |
| 5380 |
convertToDouble -3541651201574E26 |
| 5381 |
} 0xc7f0a71b8948faad |
| 5382 |
test expr-28.951 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5383 |
# Ad2b dieee UN +8394920649291 E-25 x 1d8978e8c1cc78_100000000000000000000000000000000000000000001& E-41 |
| 5384 |
convertToDouble +8394920649291E-25 |
| 5385 |
} 0x3d6d8978e8c1cc79 |
| 5386 |
test expr-28.952 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5387 |
# Ad2b dieee UN -7657975756753 E-22 x -1a5006d695fef0_1000000000000000000000000000000000000000000001& E-31 |
| 5388 |
convertToDouble -7657975756753E-22 |
| 5389 |
} 0xbe0a5006d695fef1 |
| 5390 |
test expr-28.953 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5391 |
# Ad2b dieee UN +5473834002228 E-20 x 1d632e1f745624_100000000000000000000000000000000000000000001& E-25 |
| 5392 |
convertToDouble +5473834002228E-20 |
| 5393 |
} 0x3e6d632e1f745625 |
| 5394 |
test expr-28.954 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5395 |
# Ad2b dieee UN -6842292502785 E-21 x -1d632e1f745624_100000000000000000000000000000000000000000001& E-28 |
| 5396 |
convertToDouble -6842292502785E-21 |
| 5397 |
} 0xbe3d632e1f745625 |
| 5398 |
test expr-28.955 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5399 |
# Ad2b dieee UN -2109568884597 E25 x -1fbdc386609b13_011111111111111111111111111111111111111110& E123 |
| 5400 |
convertToDouble -2109568884597E25 |
| 5401 |
} 0xc7afbdc386609b13 |
| 5402 |
test expr-28.956 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5403 |
# Ad2b dieee UN +8438275538388 E25 x 1fbdc386609b13_011111111111111111111111111111111111111110& E125 |
| 5404 |
convertToDouble +8438275538388E25 |
| 5405 |
} 0x47cfbdc386609b13 |
| 5406 |
test expr-28.957 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5407 |
# Ad2b dieee UN -4219137769194 E25 x -1fbdc386609b13_011111111111111111111111111111111111111110& E124 |
| 5408 |
convertToDouble -4219137769194E25 |
| 5409 |
} 0xc7bfbdc386609b13 |
| 5410 |
test expr-28.958 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5411 |
# Ad2b dieee UN +3200141789841 E-25 x 1684dcea3829f7_0111111111111111111111111111111111111111110& E-42 |
| 5412 |
convertToDouble +3200141789841E-25 |
| 5413 |
} 0x3d5684dcea3829f7 |
| 5414 |
test expr-28.959 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5415 |
# Ad2b dieee UN -8655689322607 E-22 x -1dbd9ff5dc8991_011111111111111111111111111111111111111110& E-31 |
| 5416 |
convertToDouble -8655689322607E-22 |
| 5417 |
} 0xbe0dbd9ff5dc8991 |
| 5418 |
test expr-28.960 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5419 |
# Ad2b dieee UN +6400283579682 E-25 x 1684dcea3829f7_0111111111111111111111111111111111111111110& E-41 |
| 5420 |
convertToDouble +6400283579682E-25 |
| 5421 |
} 0x3d6684dcea3829f7 |
| 5422 |
test expr-28.961 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5423 |
# Ad2b dieee UN -8837719634493 E-21 x -12fa9676d2585b_011111111111111111111111111111111111111110& E-27 |
| 5424 |
convertToDouble -8837719634493E-21 |
| 5425 |
} 0xbe42fa9676d2585b |
| 5426 |
test expr-28.962 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5427 |
# Ad2b dieee UN +19428217075297 E24 x 1d3b7a1d154aba_10000000000000000000000000000000000000000000001& E123 |
| 5428 |
convertToDouble +19428217075297E24 |
| 5429 |
} 0x47ad3b7a1d154abb |
| 5430 |
test expr-28.963 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5431 |
# Ad2b dieee UN -38856434150594 E24 x -1d3b7a1d154aba_10000000000000000000000000000000000000000000001& E124 |
| 5432 |
convertToDouble -38856434150594E24 |
| 5433 |
} 0xc7bd3b7a1d154abb |
| 5434 |
test expr-28.964 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5435 |
# Ad2b dieee UN +77712868301188 E24 x 1d3b7a1d154aba_10000000000000000000000000000000000000000000001& E125 |
| 5436 |
convertToDouble +77712868301188E24 |
| 5437 |
} 0x47cd3b7a1d154abb |
| 5438 |
test expr-28.965 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5439 |
# Ad2b dieee UN -77192037242133 E27 x -1c5b1ab32d5dbe_1000000000000000000000000000000000000000000000001& E135 |
| 5440 |
convertToDouble -77192037242133E27 |
| 5441 |
} 0xc86c5b1ab32d5dbf |
| 5442 |
test expr-28.966 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5443 |
# Ad2b dieee UN +76579757567530 E-23 x 1a5006d695fef0_1000000000000000000000000000000000000000000001& E-31 |
| 5444 |
convertToDouble +76579757567530E-23 |
| 5445 |
} 0x3e0a5006d695fef1 |
| 5446 |
test expr-28.967 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5447 |
# Ad2b dieee UN +15315951513506 E-22 x 1a5006d695fef0_1000000000000000000000000000000000000000000001& E-30 |
| 5448 |
convertToDouble +15315951513506E-22 |
| 5449 |
} 0x3e1a5006d695fef1 |
| 5450 |
test expr-28.968 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5451 |
# Ad2b dieee UN -38289878783765 E-23 x -1a5006d695fef0_1000000000000000000000000000000000000000000001& E-32 |
| 5452 |
convertToDouble -38289878783765E-23 |
| 5453 |
} 0xbdfa5006d695fef1 |
| 5454 |
test expr-28.969 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5455 |
# Ad2b dieee UN +49378033925202 E25 x 1737aa2567167b_0111111111111111111111111111111111111111111110& E128 |
| 5456 |
convertToDouble +49378033925202E25 |
| 5457 |
} 0x47f737aa2567167b |
| 5458 |
test expr-28.970 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5459 |
# Ad2b dieee UN -50940527102367 E24 x -132964f2944b05_0111111111111111111111111111111111111111111111110& E125 |
| 5460 |
convertToDouble -50940527102367E24 |
| 5461 |
} 0xc7c32964f2944b05 |
| 5462 |
test expr-28.971 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5463 |
# Ad2b dieee UN +98756067850404 E25 x 1737aa2567167b_0111111111111111111111111111111111111111111110& E129 |
| 5464 |
convertToDouble +98756067850404E25 |
| 5465 |
} 0x480737aa2567167b |
| 5466 |
test expr-28.972 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5467 |
# Ad2b dieee UN -99589397544892 E26 x -1d4446075c4933_0111111111111111111111111111111111111111111110& E132 |
| 5468 |
convertToDouble -99589397544892E26 |
| 5469 |
} 0xc83d4446075c4933 |
| 5470 |
test expr-28.973 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5471 |
# Ad2b dieee UN -56908598265713 E-25 x -190756ab1ed6b3_011111111111111111111111111111111111111111111110& E-38 |
| 5472 |
convertToDouble -56908598265713E-25 |
| 5473 |
} 0xbd990756ab1ed6b3 |
| 5474 |
test expr-28.974 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5475 |
# Ad2b dieee UN +97470695699657 E-22 x 14ee821710e655_01111111111111111111111111111111111111111111110& E-27 |
| 5476 |
convertToDouble +97470695699657E-22 |
| 5477 |
} 0x3e44ee821710e655 |
| 5478 |
test expr-28.975 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5479 |
# Ad2b dieee UN -35851901247343 E-25 x -1f8921657e1581_0111111111111111111111111111111111111111111110& E-39 |
| 5480 |
convertToDouble -35851901247343E-25 |
| 5481 |
} 0xbd8f8921657e1581 |
| 5482 |
test expr-28.976 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5483 |
# Ad2b dieee UN +154384074484266 E27 x 1c5b1ab32d5dbe_1000000000000000000000000000000000000000000000001& E136 |
| 5484 |
convertToDouble +154384074484266E27 |
| 5485 |
} 0x487c5b1ab32d5dbf |
| 5486 |
test expr-28.977 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5487 |
# Ad2b dieee UN -308768148968532 E27 x -1c5b1ab32d5dbe_1000000000000000000000000000000000000000000000001& E137 |
| 5488 |
convertToDouble -308768148968532E27 |
| 5489 |
} 0xc88c5b1ab32d5dbf |
| 5490 |
test expr-28.978 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5491 |
# Ad2b dieee UN +910990389005985 E23 x 112242592ae54a_100000000000000000000000000000000000000000000001& E126 |
| 5492 |
convertToDouble +910990389005985E23 |
| 5493 |
} 0x47d12242592ae54b |
| 5494 |
test expr-28.979 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5495 |
# Ad2b dieee UN +271742424169201 E-27 x 131f46bcf7b452_10000000000000000000000000000000000000000000000001& E-42 |
| 5496 |
convertToDouble +271742424169201E-27 |
| 5497 |
} 0x3d531f46bcf7b453 |
| 5498 |
test expr-28.980 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5499 |
# Ad2b dieee UN -543484848338402 E-27 x -131f46bcf7b452_10000000000000000000000000000000000000000000000001& E-41 |
| 5500 |
convertToDouble -543484848338402E-27 |
| 5501 |
} 0xbd631f46bcf7b453 |
| 5502 |
test expr-28.981 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5503 |
# Ad2b dieee UN +162192083357563 E-26 x 1c887b68658760_1000000000000000000000000000000000000000000000001& E-40 |
| 5504 |
convertToDouble +162192083357563E-26 |
| 5505 |
} 0x3d7c887b68658761 |
| 5506 |
test expr-28.982 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5507 |
# Ad2b dieee UN -869254552770081 E-23 x -12aac70665485e_1000000000000000000000000000000000000000000000000001& E-27 |
| 5508 |
convertToDouble -869254552770081E-23 |
| 5509 |
} 0xbe42aac70665485f |
| 5510 |
test expr-28.983 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5511 |
# Ad2b dieee UN +664831007626046 E24 x 1f429cb67eb075_011111111111111111111111111111111111111111111111110& E128 |
| 5512 |
convertToDouble +664831007626046E24 |
| 5513 |
} 0x47ff429cb67eb075 |
| 5514 |
test expr-28.984 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5515 |
# Ad2b dieee UN -332415503813023 E24 x -1f429cb67eb075_011111111111111111111111111111111111111111111111110& E127 |
| 5516 |
convertToDouble -332415503813023E24 |
| 5517 |
} 0xc7ef429cb67eb075 |
| 5518 |
test expr-28.985 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5519 |
# Ad2b dieee UN +943701829041427 E24 x 162fb2e38ee461_01111111111111111111111111111111111111111111111110& E129 |
| 5520 |
convertToDouble +943701829041427E24 |
| 5521 |
} 0x48062fb2e38ee461 |
| 5522 |
test expr-28.986 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5523 |
# Ad2b dieee UN -101881054204734 E24 x -132964f2944b05_0111111111111111111111111111111111111111111111110& E126 |
| 5524 |
convertToDouble -101881054204734E24 |
| 5525 |
} 0xc7d32964f2944b05 |
| 5526 |
test expr-28.987 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5527 |
# Ad2b dieee UN +828027839666967 E-27 x 1d2236349da3cd_011111111111111111111111111111111111111111111111110& E-41 |
| 5528 |
convertToDouble +828027839666967E-27 |
| 5529 |
} 0x3d6d2236349da3cd |
| 5530 |
test expr-28.988 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5531 |
# Ad2b dieee UN -280276135608777 E-27 x -13b901892fd0bf_0111111111111111111111111111111111111111111111110& E-42 |
| 5532 |
convertToDouble -280276135608777E-27 |
| 5533 |
} 0xbd53b901892fd0bf |
| 5534 |
test expr-28.989 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5535 |
# Ad2b dieee UN +212839188833879 E-21 x 1c91194dc2d40b_0111111111111111111111111111111111111111111111110& E-23 |
| 5536 |
convertToDouble +212839188833879E-21 |
| 5537 |
} 0x3e8c91194dc2d40b |
| 5538 |
test expr-28.990 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5539 |
# Ad2b dieee UN -113817196531426 E-25 x -190756ab1ed6b3_011111111111111111111111111111111111111111111110& E-37 |
| 5540 |
convertToDouble -113817196531426E-25 |
| 5541 |
} 0xbda90756ab1ed6b3 |
| 5542 |
test expr-28.991 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5543 |
# Ad2b dieee UN +9711553197796883 E27 x 1bdeec25c0f03e_10000000000000000000000000000000000000000000000000001& E142 |
| 5544 |
convertToDouble +9711553197796883E27 |
| 5545 |
} 0x48dbdeec25c0f03f |
| 5546 |
test expr-28.992 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5547 |
# Ad2b dieee UN -2739849386524269 E26 x -19295ade212370_1000000000000000000000000000000000000000000000000001& E137 |
| 5548 |
convertToDouble -2739849386524269E26 |
| 5549 |
} 0xc889295ade212371 |
| 5550 |
test expr-28.993 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5551 |
# Ad2b dieee UN +5479698773048538 E26 x 19295ade212370_1000000000000000000000000000000000000000000000000001& E138 |
| 5552 |
convertToDouble +5479698773048538E26 |
| 5553 |
} 0x4899295ade212371 |
| 5554 |
test expr-28.994 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5555 |
# Ad2b dieee UN +6124568318523113 E-25 x 150b3a2e0aff14_1000000000000000000000000000000000000000000000000000001& E-31 |
| 5556 |
convertToDouble +6124568318523113E-25 |
| 5557 |
} 0x3e050b3a2e0aff15 |
| 5558 |
test expr-28.995 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5559 |
# Ad2b dieee UN -1139777988171071 E-24 x -1394cbee428ea4_10000000000000000000000000000000000000000000000000001& E-30 |
| 5560 |
convertToDouble -1139777988171071E-24 |
| 5561 |
} 0xbe1394cbee428ea5 |
| 5562 |
test expr-28.996 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5563 |
# Ad2b dieee UN +6322612303128019 E-27 x 1bcea0ec21e250_1000000000000000000000000000000000000000000000000000001& E-38 |
| 5564 |
convertToDouble +6322612303128019E-27 |
| 5565 |
} 0x3d9bcea0ec21e251 |
| 5566 |
test expr-28.997 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5567 |
# Ad2b dieee UN -2955864564844617 E-25 x -1450030e26c6dc_10000000000000000000000000000000000000000000000000001& E-32 |
| 5568 |
convertToDouble -2955864564844617E-25 |
| 5569 |
} 0xbdf450030e26c6dd |
| 5570 |
test expr-28.998 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5571 |
# Ad2b dieee UN -9994029144998961 E25 x -125b2b7fed4a61_0111111111111111111111111111111111111111111111111110& E136 |
| 5572 |
convertToDouble -9994029144998961E25 |
| 5573 |
} 0xc8725b2b7fed4a61 |
| 5574 |
test expr-28.999 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5575 |
# Ad2b dieee UN -2971238324022087 E27 x -110dd7a301db67_0111111111111111111111111111111111111111111111111110& E141 |
| 5576 |
convertToDouble -2971238324022087E27 |
| 5577 |
} 0xc8c10dd7a301db67 |
| 5578 |
test expr-28.1000 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5579 |
# Ad2b dieee UN -1656055679333934 E-27 x -1d2236349da3cd_011111111111111111111111111111111111111111111111110& E-40 |
| 5580 |
convertToDouble -1656055679333934E-27 |
| 5581 |
} 0xbd7d2236349da3cd |
| 5582 |
test expr-28.1001 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5583 |
# Ad2b dieee UN -1445488709150234 E-26 x -1fc960c59526c7_0111111111111111111111111111111111111111111111110& E-37 |
| 5584 |
convertToDouble -1445488709150234E-26 |
| 5585 |
} 0xbdafc960c59526c7 |
| 5586 |
test expr-28.1002 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5587 |
# Ad2b dieee UN +55824717499885172 E27 x 1406b0cd17fd56_1000000000000000000000000000000000000000000000000000000001& E145 |
| 5588 |
convertToDouble +55824717499885172E27 |
| 5589 |
} 0x490406b0cd17fd57 |
| 5590 |
test expr-28.1003 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5591 |
# Ad2b dieee UN -69780896874856465 E26 x -1406b0cd17fd56_1000000000000000000000000000000000000000000000000000000001& E142 |
| 5592 |
convertToDouble -69780896874856465E26 |
| 5593 |
} 0xc8d406b0cd17fd57 |
| 5594 |
test expr-28.1004 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5595 |
# Ad2b dieee UN +84161538867545199 E25 x 13529217bdce6c_10000000000000000000000000000000000000000000000000000000001& E139 |
| 5596 |
convertToDouble +84161538867545199E25 |
| 5597 |
} 0x48a3529217bdce6d |
| 5598 |
test expr-28.1005 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5599 |
# Ad2b dieee UN -27912358749942586 E27 x -1406b0cd17fd56_1000000000000000000000000000000000000000000000000000000001& E144 |
| 5600 |
convertToDouble -27912358749942586E27 |
| 5601 |
} 0xc8f406b0cd17fd57 |
| 5602 |
test expr-28.1006 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5603 |
# Ad2b dieee UN +24711112462926331 E-25 x 153a07f6040d22_100000000000000000000000000000000000000000000000000000001& E-29 |
| 5604 |
convertToDouble +24711112462926331E-25 |
| 5605 |
} 0x3e253a07f6040d23 |
| 5606 |
test expr-28.1007 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5607 |
# Ad2b dieee UN -12645224606256038 E-27 x -1bcea0ec21e250_1000000000000000000000000000000000000000000000000000001& E-37 |
| 5608 |
convertToDouble -12645224606256038E-27 |
| 5609 |
} 0xbdabcea0ec21e251 |
| 5610 |
test expr-28.1008 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5611 |
# Ad2b dieee UN -12249136637046226 E-25 x -150b3a2e0aff14_1000000000000000000000000000000000000000000000000000001& E-30 |
| 5612 |
convertToDouble -12249136637046226E-25 |
| 5613 |
} 0xbe150b3a2e0aff15 |
| 5614 |
test expr-28.1009 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5615 |
# Ad2b dieee UN +74874448287465757 E27 x 1adc21d1d50b09_01111111111111111111111111111111111111111111111111111110& E145 |
| 5616 |
convertToDouble +74874448287465757E27 |
| 5617 |
} 0x490adc21d1d50b09 |
| 5618 |
test expr-28.1010 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5619 |
# Ad2b dieee UN -35642836832753303 E24 x -1a2fac2b421f53_0111111111111111111111111111111111111111111111111111110& E134 |
| 5620 |
convertToDouble -35642836832753303E24 |
| 5621 |
} 0xc85a2fac2b421f53 |
| 5622 |
test expr-28.1011 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5623 |
# Ad2b dieee UN -71285673665506606 E24 x -1a2fac2b421f53_0111111111111111111111111111111111111111111111111111110& E135 |
| 5624 |
convertToDouble -71285673665506606E24 |
| 5625 |
} 0xc86a2fac2b421f53 |
| 5626 |
test expr-28.1012 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5627 |
# Ad2b dieee UN +43723334984997307 E-26 x 1e0be3f392c549_01111111111111111111111111111111111111111111111111111110& E-32 |
| 5628 |
convertToDouble +43723334984997307E-26 |
| 5629 |
} 0x3dfe0be3f392c549 |
| 5630 |
test expr-28.1013 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5631 |
# Ad2b dieee UN +10182419849537963 E-24 x 15ddd831ebbe53_011111111111111111111111111111111111111111111111111110& E-27 |
| 5632 |
convertToDouble +10182419849537963E-24 |
| 5633 |
} 0x3e45ddd831ebbe53 |
| 5634 |
test expr-28.1014 {input floating-point conversion} {ieeeFloatingPoint} { |
| 5635 |
# Ad2b dieee UN -93501703572661982 E-26 x -10103f97ea6e13_0111111111111111111111111111111111111111111111111110& E-30 |
| 5636 |
convertToDouble -93501703572661982E-26 |
| 5637 |
} 0xbe10103f97ea6e13 |
| 5638 |
|
| 5639 |
test expr-29.1 {smallest representible number} {ieeeFloatingPoint} { |
| 5640 |
list [catch {convertToDouble 4.9406564584124654e-324} result] \ |
| 5641 |
$result \ |
| 5642 |
[catch {convertToDouble 2.4703282292062327e-324} result] \ |
| 5643 |
$result \ |
| 5644 |
[catch {convertToDouble 2.47032822920623e-324} result] \ |
| 5645 |
$result |
| 5646 |
} {0 0x0000000000000001 0 0x0000000000000001 0 0x0000000000000000} |
| 5647 |
test expr-29.2 {smallest representible number} {ieeeFloatingPoint} { |
| 5648 |
list [catch {convertToDouble -4.9406564584124654e-324} result] \ |
| 5649 |
$result \ |
| 5650 |
[catch {convertToDouble -2.4703282292062327e-324} result] \ |
| 5651 |
$result \ |
| 5652 |
[catch {convertToDouble -2.47032822920623e-324} result] \ |
| 5653 |
$result |
| 5654 |
} {0 0x8000000000000001 0 0x8000000000000001 0 0x8000000000000000} |
| 5655 |
test expr-29.3 {silent underflow on input conversion} {ieeeFloatingPoint} { |
| 5656 |
set v ? |
| 5657 |
list [scan 2.47032822920623e-324 %g v] $v |
| 5658 |
} {1 0.0} |
| 5659 |
test expr-29.4 {silent underflow on input conversion} {ieeeFloatingPoint} { |
| 5660 |
set v ? |
| 5661 |
list [scan -2.47032822920623e-324 %g v] $v |
| 5662 |
} {1 -0.0} |
| 5663 |
|
| 5664 |
test expr-30.1 {largest representible number} {ieeeFloatingPoint} { |
| 5665 |
list [catch {convertToDouble 1.7976931348623155e+308} result] \ |
| 5666 |
$result \ |
| 5667 |
[catch {convertToDouble 1.7976931348623157e+308} result] \ |
| 5668 |
$result \ |
| 5669 |
[catch {convertToDouble 1.7976931348623159e+308} result] \ |
| 5670 |
$result |
| 5671 |
} {0 0x7feffffffffffffe 0 0x7fefffffffffffff 0 0x7ff0000000000000} |
| 5672 |
test expr-30.2 {largest representible number} {ieeeFloatingPoint} { |
| 5673 |
list [catch {convertToDouble -1.7976931348623155e+308} result] \ |
| 5674 |
$result \ |
| 5675 |
[catch {convertToDouble -1.7976931348623157e+308} result] \ |
| 5676 |
$result \ |
| 5677 |
[catch {convertToDouble -1.7976931348623159e+308} result] \ |
| 5678 |
$result |
| 5679 |
} {0 0xffeffffffffffffe 0 0xffefffffffffffff 0 0xfff0000000000000} |
| 5680 |
test expr-30.3 {silent overflow on input conversion} {ieeeFloatingPoint} { |
| 5681 |
set v ? |
| 5682 |
list [scan 1.7976931348623159e+308 %f v] $v |
| 5683 |
} {1 Inf} |
| 5684 |
test expr-30.4 {silent overflow on input conversion} {ieeeFloatingPoint} { |
| 5685 |
set v ? |
| 5686 |
list [scan -1.7976931348623159e+308 %f v] $v |
| 5687 |
} {1 -Inf} |
| 5688 |
|
| 5689 |
# bool() tests (TIP #182) |
| 5690 |
set i 0 |
| 5691 |
foreach s {yes true on} { |
| 5692 |
test expr-31.$i.0 {boolean conversion} {expr bool($s)} 1 |
| 5693 |
test expr-31.$i.1 {boolean conversion} {expr bool(!$s)} 0 |
| 5694 |
test expr-31.$i.2 {boolean conversion} {expr bool("$s")} 1 |
| 5695 |
test expr-31.$i.3 {boolean conversion} {expr bool(!"$s")} 0 |
| 5696 |
set j 1 |
| 5697 |
while {$j < [string length $s]-1} { |
| 5698 |
test expr-31.$i.4.$j {boolean conversion} { |
| 5699 |
expr bool([string range $s 0 $j]) |
| 5700 |
} 1 |
| 5701 |
test expr-31.$i.5.$j {boolean conversion} { |
| 5702 |
expr bool("[string range $s 0 $j]") |
| 5703 |
} 1 |
| 5704 |
incr j |
| 5705 |
} |
| 5706 |
incr i |
| 5707 |
} |
| 5708 |
test expr-31.0.4.0 {boolean conversion} {expr bool(y)} 1 |
| 5709 |
test expr-31.0.5.0 {boolean conversion} {expr bool("y")} 1 |
| 5710 |
test expr-31.1.4.0 {boolean conversion} {expr bool(t)} 1 |
| 5711 |
test expr-31.1.5.0 {boolean conversion} {expr bool("t")} 1 |
| 5712 |
test expr-31.2.4.0 {boolean conversion} -body { |
| 5713 |
expr bool(o) |
| 5714 |
} -returnCodes error -match glob -result * |
| 5715 |
test expr-31.2.5.0 {boolean conversion} -body { |
| 5716 |
expr bool("o") |
| 5717 |
} -returnCodes error -match glob -result * |
| 5718 |
foreach s {no false off} { |
| 5719 |
test expr-31.$i.0 {boolean conversion} {expr bool($s)} 0 |
| 5720 |
test expr-31.$i.1 {boolean conversion} {expr bool(!$s)} 1 |
| 5721 |
test expr-31.$i.2 {boolean conversion} {expr bool("$s")} 0 |
| 5722 |
test expr-31.$i.3 {boolean conversion} {expr bool(!"$s")} 1 |
| 5723 |
set j 1 |
| 5724 |
while {$j < [string length $s]-1} { |
| 5725 |
test expr-31.$i.4.$j {boolean conversion} { |
| 5726 |
expr bool([string range $s 0 $j]) |
| 5727 |
} 0 |
| 5728 |
test expr-31.$i.5.$j {boolean conversion} { |
| 5729 |
expr bool("[string range $s 0 $j]") |
| 5730 |
} 0 |
| 5731 |
incr j |
| 5732 |
} |
| 5733 |
incr i |
| 5734 |
} |
| 5735 |
test expr-31.3.4.0 {boolean conversion} {expr bool(n)} 0 |
| 5736 |
test expr-31.3.5.0 {boolean conversion} {expr bool("n")} 0 |
| 5737 |
test expr-31.4.4.0 {boolean conversion} {expr bool(f)} 0 |
| 5738 |
test expr-31.4.5.0 {boolean conversion} {expr bool("f")} 0 |
| 5739 |
test expr-31.6 {boolean conversion} {expr bool(-1 + 1)} 0 |
| 5740 |
test expr-31.7 {boolean conversion} {expr bool(0 + 1)} 1 |
| 5741 |
test expr-31.8 {boolean conversion} {expr bool(0.0)} 0 |
| 5742 |
test expr-31.9 {boolean conversion} {expr bool(0x0)} 0 |
| 5743 |
test expr-31.10 {boolean conversion} {expr bool(wide(0))} 0 |
| 5744 |
test expr-31.11 {boolean conversion} {expr bool(5.0)} 1 |
| 5745 |
test expr-31.12 {boolean conversion} {expr bool(5)} 1 |
| 5746 |
test expr-31.13 {boolean conversion} {expr bool(0x5)} 1 |
| 5747 |
test expr-31.14 {boolean conversion} {expr bool(wide(5))} 1 |
| 5748 |
test expr-31.15 {boolean conversion} -body { |
| 5749 |
expr bool("fred") |
| 5750 |
} -returnCodes error -match glob -result * |
| 5751 |
|
| 5752 |
test expr-32.1 {expr mod basics} { |
| 5753 |
set mod_nums [list \ |
| 5754 |
{-3 1} {-3 2} {-3 3} {-3 4} {-3 5} \ |
| 5755 |
{-3 -1} {-3 -2} {-3 -3} {-3 -4} {-3 -5} \ |
| 5756 |
{-2 1} {-2 2} {-2 3} {-2 4} {-2 5} \ |
| 5757 |
{-2 -1} {-2 -2} {-2 -3} {-2 -4} {-2 -5} \ |
| 5758 |
{-1 1} {-1 2} {-1 3} {-1 4} {-1 5} \ |
| 5759 |
{-1 -1} {-1 -2} {-1 -3} {-1 -4} {-1 -5} \ |
| 5760 |
{0 -100} {0 -1} {0 1} {0 100} \ |
| 5761 |
{1 1} {1 2} {1 3} {1 4} {1 5} \ |
| 5762 |
{1 -1} {1 -2} {1 -3} {1 -4} {1 -5} \ |
| 5763 |
{2 1} {2 2} {2 3} {2 4} {2 5} \ |
| 5764 |
{2 -1} {2 -2} {2 -3} {2 -4} {2 -5} \ |
| 5765 |
{3 1} {3 2} {3 3} {3 4} {3 5} \ |
| 5766 |
{3 -1} {3 -2} {3 -3} {3 -4} {3 -5} \ |
| 5767 |
] |
| 5768 |
set results [list] |
| 5769 |
foreach pair $mod_nums { |
| 5770 |
set dividend [lindex $pair 0] |
| 5771 |
set divisor [lindex $pair 1] |
| 5772 |
lappend results [expr {$dividend % $divisor}] |
| 5773 |
} |
| 5774 |
set results |
| 5775 |
} [list \ |
| 5776 |
0 1 0 1 2 \ |
| 5777 |
0 -1 0 -3 -3 \ |
| 5778 |
0 0 1 2 3 \ |
| 5779 |
0 0 -2 -2 -2 \ |
| 5780 |
0 1 2 3 4 \ |
| 5781 |
0 -1 -1 -1 -1 \ |
| 5782 |
0 0 0 0 \ |
| 5783 |
0 1 1 1 1 \ |
| 5784 |
0 -1 -2 -3 -4 \ |
| 5785 |
0 0 2 2 2 \ |
| 5786 |
0 0 -1 -2 -3 \ |
| 5787 |
0 1 0 3 3 \ |
| 5788 |
0 -1 0 -1 -2 \ |
| 5789 |
] |
| 5790 |
|
| 5791 |
test expr-32.2 {expr div basics} { |
| 5792 |
set mod_nums [list \ |
| 5793 |
{-3 1} {-3 2} {-3 3} {-3 4} {-3 5} \ |
| 5794 |
{-3 -1} {-3 -2} {-3 -3} {-3 -4} {-3 -5} \ |
| 5795 |
{-2 1} {-2 2} {-2 3} {-2 4} {-2 5} \ |
| 5796 |
{-2 -1} {-2 -2} {-2 -3} {-2 -4} {-2 -5} \ |
| 5797 |
{-1 1} {-1 2} {-1 3} {-1 4} {-1 5} \ |
| 5798 |
{-1 -1} {-1 -2} {-1 -3} {-1 -4} {-1 -5} \ |
| 5799 |
{0 -100} {0 -1} {0 1} {0 100} \ |
| 5800 |
{1 1} {1 2} {1 3} {1 4} {1 5} \ |
| 5801 |
{1 -1} {1 -2} {1 -3} {1 -4} {1 -5} \ |
| 5802 |
{2 1} {2 2} {2 3} {2 4} {2 5} \ |
| 5803 |
{2 -1} {2 -2} {2 -3} {2 -4} {2 -5} \ |
| 5804 |
{3 1} {3 2} {3 3} {3 4} {3 5} \ |
| 5805 |
{3 -1} {3 -2} {3 -3} {3 -4} {3 -5} \ |
| 5806 |
] |
| 5807 |
set results [list] |
| 5808 |
foreach pair $mod_nums { |
| 5809 |
set dividend [lindex $pair 0] |
| 5810 |
set divisor [lindex $pair 1] |
| 5811 |
lappend results [expr {$dividend / $divisor}] |
| 5812 |
} |
| 5813 |
set results |
| 5814 |
} [list \ |
| 5815 |
-3 -2 -1 -1 -1 \ |
| 5816 |
3 1 1 0 0 \ |
| 5817 |
-2 -1 -1 -1 -1 \ |
| 5818 |
2 1 0 0 0 \ |
| 5819 |
-1 -1 -1 -1 -1 \ |
| 5820 |
1 0 0 0 0 \ |
| 5821 |
0 0 0 0 \ |
| 5822 |
1 0 0 0 0 \ |
| 5823 |
-1 -1 -1 -1 -1 \ |
| 5824 |
2 1 0 0 0 \ |
| 5825 |
-2 -1 -1 -1 -1 \ |
| 5826 |
3 1 1 0 0 \ |
| 5827 |
-3 -2 -1 -1 -1 \ |
| 5828 |
] |
| 5829 |
|
| 5830 |
test expr-32.3 {Bug 1585704} { |
| 5831 |
expr 1%(1<<63) |
| 5832 |
} 1 |
| 5833 |
test expr-32.4 {Bug 1585704} { |
| 5834 |
expr -1%(1<<63) |
| 5835 |
} [expr (1<<63)-1] |
| 5836 |
test expr-32.5 {Bug 1585704} { |
| 5837 |
expr (1<<32)%(1<<63) |
| 5838 |
} [expr 1<<32] |
| 5839 |
test expr-32.6 {Bug 1585704} { |
| 5840 |
expr -(1<<32)%(1<<63) |
| 5841 |
} [expr (1<<63)-(1<<32)] |
| 5842 |
test expr-32.7 {bignum regression} { |
| 5843 |
expr {0%(1<<63)} |
| 5844 |
} 0 |
| 5845 |
test expr-32.8 {bignum regression} { |
| 5846 |
expr {0%-(1<<63)} |
| 5847 |
} 0 |
| 5848 |
test expr-32.9 {bignum regression} { |
| 5849 |
expr {0%-(1+(1<<63))} |
| 5850 |
} 0 |
| 5851 |
|
| 5852 |
test expr-33.1 {parse largest long value} longIs32bit { |
| 5853 |
set max_long_str 2147483647 |
| 5854 |
set max_long_hex "0x7FFFFFFF " |
| 5855 |
|
| 5856 |
# Convert to integer (long, not wide) internal rep |
| 5857 |
set max_long 2147483647 |
| 5858 |
string is integer $max_long |
| 5859 |
|
| 5860 |
list \ |
| 5861 |
[expr {" $max_long_str "}] \ |
| 5862 |
[expr {$max_long_str + 0}] \ |
| 5863 |
[expr {$max_long + 0}] \ |
| 5864 |
[expr {2147483647 + 0}] \ |
| 5865 |
[expr {$max_long == $max_long_hex}] \ |
| 5866 |
[expr {int(2147483647 + 1) < 0}] \ |
| 5867 |
|
| 5868 |
} {2147483647 2147483647 2147483647 2147483647 1 1} |
| 5869 |
test expr-33.2 {parse smallest long value} longIs32bit { |
| 5870 |
set min_long_str -2147483648 |
| 5871 |
set min_long_hex "-0x80000000 " |
| 5872 |
|
| 5873 |
set min_long -2147483648 |
| 5874 |
# This will convert to integer (not wide) internal rep |
| 5875 |
string is integer $min_long |
| 5876 |
|
| 5877 |
# Note: If the final expression returns 0 then the |
| 5878 |
# expression literal is being promoted to a wide type |
| 5879 |
# when it should be parsed as a long type. |
| 5880 |
list \ |
| 5881 |
[expr {" $min_long_str "}] \ |
| 5882 |
[expr {$min_long_str + 0}] \ |
| 5883 |
[expr {$min_long + 0}] \ |
| 5884 |
[expr {-2147483648 + 0}] \ |
| 5885 |
[expr {$min_long == $min_long_hex}] \ |
| 5886 |
[expr {int(-2147483648 - 1) == 0x7FFFFFFF}] \ |
| 5887 |
|
| 5888 |
} {-2147483648 -2147483648 -2147483648 -2147483648 1 1} |
| 5889 |
test expr-33.3 {parse largest wide value} wideIs64bit { |
| 5890 |
set max_wide_str 9223372036854775807 |
| 5891 |
set max_wide_hex "0x7FFFFFFFFFFFFFFF " |
| 5892 |
|
| 5893 |
# Convert to wide integer |
| 5894 |
set max_wide 9223372036854775807 |
| 5895 |
string is integer $max_wide |
| 5896 |
|
| 5897 |
list \ |
| 5898 |
[expr {" $max_wide_str "}] \ |
| 5899 |
[expr {$max_wide_str + 0}] \ |
| 5900 |
[expr {$max_wide + 0}] \ |
| 5901 |
[expr {9223372036854775807 + 0}] \ |
| 5902 |
[expr {$max_wide == $max_wide_hex}] \ |
| 5903 |
[expr {wide(9223372036854775807 + 1) < 0}] \ |
| 5904 |
|
| 5905 |
} {9223372036854775807 9223372036854775807 9223372036854775807 9223372036854775807 1 1} |
| 5906 |
test expr-33.4 {parse smallest wide value} wideIs64bit { |
| 5907 |
set min_wide_str -9223372036854775808 |
| 5908 |
set min_wide_hex "-0x8000000000000000 " |
| 5909 |
|
| 5910 |
set min_wide -9223372036854775808 |
| 5911 |
# Convert to wide integer |
| 5912 |
string is integer $min_wide |
| 5913 |
|
| 5914 |
# Note: If the final expression returns 0 then the |
| 5915 |
# wide integer is not being parsed correctly with |
| 5916 |
# the leading - sign. |
| 5917 |
list \ |
| 5918 |
[expr {" $min_wide_str "}] \ |
| 5919 |
[expr {$min_wide_str + 0}] \ |
| 5920 |
[expr {$min_wide + 0}] \ |
| 5921 |
[expr {-9223372036854775808 + 0}] \ |
| 5922 |
[expr {$min_wide == $min_wide_hex}] \ |
| 5923 |
[expr {wide(-9223372036854775808 - 1) == 0x7FFFFFFFFFFFFFFF}] \ |
| 5924 |
|
| 5925 |
} {-9223372036854775808 -9223372036854775808 -9223372036854775808 -9223372036854775808 1 1} |
| 5926 |
|
| 5927 |
set min -2147483648 |
| 5928 |
set max 2147483647 |
| 5929 |
|
| 5930 |
test expr-34.1 {expr edge cases} { |
| 5931 |
expr {$min / $min} |
| 5932 |
} {1} |
| 5933 |
test expr-34.2 {expr edge cases} { |
| 5934 |
expr {$min % $min} |
| 5935 |
} {0} |
| 5936 |
test expr-34.3 {expr edge cases} { |
| 5937 |
expr {$min / ($min + 1)} |
| 5938 |
} {1} |
| 5939 |
test expr-34.4 {expr edge cases} { |
| 5940 |
expr {$min % ($min + 1)} |
| 5941 |
} {-1} |
| 5942 |
test expr-34.5 {expr edge cases} { |
| 5943 |
expr {$min / ($min + 2)} |
| 5944 |
} {1} |
| 5945 |
test expr-34.6 {expr edge cases} { |
| 5946 |
expr {$min % ($min + 2)} |
| 5947 |
} {-2} |
| 5948 |
test expr-34.7 {expr edge cases} { |
| 5949 |
expr {$min / ($min + 3)} |
| 5950 |
} {1} |
| 5951 |
test expr-34.8 {expr edge cases} { |
| 5952 |
expr {$min % ($min + 3)} |
| 5953 |
} {-3} |
| 5954 |
test expr-34.9 {expr edge cases} { |
| 5955 |
expr {$min / -3} |
| 5956 |
} {715827882} |
| 5957 |
test expr-34.10 {expr edge cases} { |
| 5958 |
expr {$min % -3} |
| 5959 |
} {-2} |
| 5960 |
test expr-34.11 {expr edge cases} { |
| 5961 |
expr {$min / -2} |
| 5962 |
} {1073741824} |
| 5963 |
test expr-34.12 {expr edge cases} { |
| 5964 |
expr {$min % -2} |
| 5965 |
} {0} |
| 5966 |
test expr-34.13 {expr edge cases} longIs32bit { |
| 5967 |
expr {int($min / -1)} |
| 5968 |
} {-2147483648} |
| 5969 |
test expr-34.14 {expr edge cases} { |
| 5970 |
expr {$min % -1} |
| 5971 |
} {0} |
| 5972 |
test expr-34.15 {expr edge cases} longIs32bit { |
| 5973 |
expr {int($min * -1)} |
| 5974 |
} $min |
| 5975 |
test expr-34.16 {expr edge cases} longIs32bit { |
| 5976 |
expr {int(-$min)} |
| 5977 |
} $min |
| 5978 |
test expr-34.17 {expr edge cases} { |
| 5979 |
expr {$min / 1} |
| 5980 |
} $min |
| 5981 |
test expr-34.18 {expr edge cases} { |
| 5982 |
expr {$min % 1} |
| 5983 |
} {0} |
| 5984 |
test expr-34.19 {expr edge cases} { |
| 5985 |
expr {$min / 2} |
| 5986 |
} {-1073741824} |
| 5987 |
test expr-34.20 {expr edge cases} { |
| 5988 |
expr {$min % 2} |
| 5989 |
} {0} |
| 5990 |
test expr-34.21 {expr edge cases} { |
| 5991 |
expr {$min / 3} |
| 5992 |
} {-715827883} |
| 5993 |
test expr-34.22 {expr edge cases} { |
| 5994 |
expr {$min % 3} |
| 5995 |
} {1} |
| 5996 |
test expr-34.23 {expr edge cases} { |
| 5997 |
expr {$min / ($max - 3)} |
| 5998 |
} {-2} |
| 5999 |
test expr-34.24 {expr edge cases} { |
| 6000 |
expr {$min % ($max - 3)} |
| 6001 |
} {2147483640} |
| 6002 |
test expr-34.25 {expr edge cases} { |
| 6003 |
expr {$min / ($max - 2)} |
| 6004 |
} {-2} |
| 6005 |
test expr-34.26 {expr edge cases} { |
| 6006 |
expr {$min % ($max - 2)} |
| 6007 |
} {2147483642} |
| 6008 |
test expr-34.27 {expr edge cases} { |
| 6009 |
expr {$min / ($max - 1)} |
| 6010 |
} {-2} |
| 6011 |
test expr-34.28 {expr edge cases} { |
| 6012 |
expr {$min % ($max - 1)} |
| 6013 |
} {2147483644} |
| 6014 |
test expr-34.29 {expr edge cases} { |
| 6015 |
expr {$min / $max} |
| 6016 |
} {-2} |
| 6017 |
test expr-34.30 {expr edge cases} { |
| 6018 |
expr {$min % $max} |
| 6019 |
} {2147483646} |
| 6020 |
test expr-34.31 {expr edge cases} { |
| 6021 |
expr {$max / $max} |
| 6022 |
} {1} |
| 6023 |
test expr-34.32 {expr edge cases} { |
| 6024 |
expr {$max % $max} |
| 6025 |
} {0} |
| 6026 |
test expr-34.33 {expr edge cases} { |
| 6027 |
expr {$max / ($max - 1)} |
| 6028 |
} {1} |
| 6029 |
test expr-34.34 {expr edge cases} { |
| 6030 |
expr {$max % ($max - 1)} |
| 6031 |
} {1} |
| 6032 |
test expr-34.35 {expr edge cases} { |
| 6033 |
expr {$max / ($max - 2)} |
| 6034 |
} {1} |
| 6035 |
test expr-34.36 {expr edge cases} { |
| 6036 |
expr {$max % ($max - 2)} |
| 6037 |
} {2} |
| 6038 |
test expr-34.37 {expr edge cases} { |
| 6039 |
expr {$max / ($max - 3)} |
| 6040 |
} {1} |
| 6041 |
test expr-34.38 {expr edge cases} { |
| 6042 |
expr {$max % ($max - 3)} |
| 6043 |
} {3} |
| 6044 |
test expr-34.39 {expr edge cases} { |
| 6045 |
expr {$max / 3} |
| 6046 |
} {715827882} |
| 6047 |
test expr-34.40 {expr edge cases} { |
| 6048 |
expr {$max % 3} |
| 6049 |
} {1} |
| 6050 |
test expr-34.41 {expr edge cases} { |
| 6051 |
expr {$max / 2} |
| 6052 |
} {1073741823} |
| 6053 |
test expr-34.42 {expr edge cases} { |
| 6054 |
expr {$max % 2} |
| 6055 |
} {1} |
| 6056 |
test expr-34.43 {expr edge cases} { |
| 6057 |
expr {$max / 1} |
| 6058 |
} $max |
| 6059 |
test expr-34.44 {expr edge cases} { |
| 6060 |
expr {$max % 1} |
| 6061 |
} {0} |
| 6062 |
test expr-34.45 {expr edge cases} { |
| 6063 |
expr {$max / -1} |
| 6064 |
} "-$max" |
| 6065 |
test expr-34.46 {expr edge cases} { |
| 6066 |
expr {$max % -1} |
| 6067 |
} {0} |
| 6068 |
test expr-34.47 {expr edge cases} { |
| 6069 |
expr {$max / -2} |
| 6070 |
} {-1073741824} |
| 6071 |
test expr-34.48 {expr edge cases} { |
| 6072 |
expr {$max % -2} |
| 6073 |
} {-1} |
| 6074 |
test expr-34.49 {expr edge cases} { |
| 6075 |
expr {$max / -3} |
| 6076 |
} {-715827883} |
| 6077 |
test expr-34.50 {expr edge cases} { |
| 6078 |
expr {$max % -3} |
| 6079 |
} {-2} |
| 6080 |
test expr-34.51 {expr edge cases} { |
| 6081 |
expr {$max / ($min + 3)} |
| 6082 |
} {-2} |
| 6083 |
test expr-34.52 {expr edge cases} { |
| 6084 |
expr {$max % ($min + 3)} |
| 6085 |
} {-2147483643} |
| 6086 |
test expr-34.53 {expr edge cases} { |
| 6087 |
expr {$max / ($min + 2)} |
| 6088 |
} {-2} |
| 6089 |
test expr-34.54 {expr edge cases} { |
| 6090 |
expr {$max % ($min + 2)} |
| 6091 |
} {-2147483645} |
| 6092 |
test expr-34.55 {expr edge cases} { |
| 6093 |
expr {$max / ($min + 1)} |
| 6094 |
} {-1} |
| 6095 |
test expr-34.56 {expr edge cases} { |
| 6096 |
expr {$max % ($min + 1)} |
| 6097 |
} {0} |
| 6098 |
test expr-34.57 {expr edge cases} { |
| 6099 |
expr {$max / $min} |
| 6100 |
} {-1} |
| 6101 |
test expr-34.58 {expr edge cases} { |
| 6102 |
expr {$max % $min} |
| 6103 |
} {-1} |
| 6104 |
test expr-34.59 {expr edge cases} { |
| 6105 |
expr {($min + 1) / ($max - 1)} |
| 6106 |
} {-2} |
| 6107 |
test expr-34.60 {expr edge cases} { |
| 6108 |
expr {($min + 1) % ($max - 1)} |
| 6109 |
} {2147483645} |
| 6110 |
test expr-34.61 {expr edge cases} { |
| 6111 |
expr {($max - 1) / ($min + 1)} |
| 6112 |
} {-1} |
| 6113 |
test expr-34.62 {expr edge cases} { |
| 6114 |
expr {($max - 1) % ($min + 1)} |
| 6115 |
} {-1} |
| 6116 |
test expr-34.63 {expr edge cases} { |
| 6117 |
expr {($max - 1) / $min} |
| 6118 |
} {-1} |
| 6119 |
test expr-34.64 {expr edge cases} { |
| 6120 |
expr {($max - 1) % $min} |
| 6121 |
} {-2} |
| 6122 |
test expr-34.65 {expr edge cases} { |
| 6123 |
expr {($max - 2) / $min} |
| 6124 |
} {-1} |
| 6125 |
test expr-34.66 {expr edge cases} { |
| 6126 |
expr {($max - 2) % $min} |
| 6127 |
} {-3} |
| 6128 |
test expr-34.67 {expr edge cases} { |
| 6129 |
expr {($max - 3) / $min} |
| 6130 |
} {-1} |
| 6131 |
test expr-34.68 {expr edge cases} { |
| 6132 |
expr {($max - 3) % $min} |
| 6133 |
} {-4} |
| 6134 |
test expr-34.69 {expr edge cases} { |
| 6135 |
expr {-3 / $min} |
| 6136 |
} {0} |
| 6137 |
test expr-34.70 {expr edge cases} { |
| 6138 |
expr {-3 % $min} |
| 6139 |
} {-3} |
| 6140 |
test expr-34.71 {expr edge cases} { |
| 6141 |
expr {-2 / $min} |
| 6142 |
} {0} |
| 6143 |
test expr-34.72 {expr edge cases} { |
| 6144 |
expr {-2 % $min} |
| 6145 |
} {-2} |
| 6146 |
test expr-34.73 {expr edge cases} { |
| 6147 |
expr {-1 / $min} |
| 6148 |
} {0} |
| 6149 |
test expr-34.74 {expr edge cases} { |
| 6150 |
expr {-1 % $min} |
| 6151 |
} {-1} |
| 6152 |
test expr-34.75 {expr edge cases} { |
| 6153 |
expr {0 / $min} |
| 6154 |
} {0} |
| 6155 |
test expr-34.76 {expr edge cases} { |
| 6156 |
expr {0 % $min} |
| 6157 |
} {0} |
| 6158 |
test expr-34.77 {expr edge cases} { |
| 6159 |
expr {0 / ($min + 1)} |
| 6160 |
} {0} |
| 6161 |
test expr-34.78 {expr edge cases} { |
| 6162 |
expr {0 % ($min + 1)} |
| 6163 |
} {0} |
| 6164 |
test expr-34.79 {expr edge cases} { |
| 6165 |
expr {1 / $min} |
| 6166 |
} {-1} |
| 6167 |
test expr-34.80 {expr edge cases} { |
| 6168 |
expr {1 % $min} |
| 6169 |
} {-2147483647} |
| 6170 |
test expr-34.81 {expr edge cases} { |
| 6171 |
expr {1 / ($min + 1)} |
| 6172 |
} {-1} |
| 6173 |
test expr-34.82 {expr edge cases} { |
| 6174 |
expr {1 % ($min + 1)} |
| 6175 |
} {-2147483646} |
| 6176 |
test expr-34.83 {expr edge cases} { |
| 6177 |
expr {2 / $min} |
| 6178 |
} {-1} |
| 6179 |
test expr-34.84 {expr edge cases} { |
| 6180 |
expr {2 % $min} |
| 6181 |
} {-2147483646} |
| 6182 |
test expr-34.85 {expr edge cases} { |
| 6183 |
expr {2 / ($min + 1)} |
| 6184 |
} {-1} |
| 6185 |
test expr-34.86 {expr edge cases} { |
| 6186 |
expr {2 % ($min + 1)} |
| 6187 |
} {-2147483645} |
| 6188 |
test expr-34.87 {expr edge cases} { |
| 6189 |
expr {3 / $min} |
| 6190 |
} {-1} |
| 6191 |
test expr-34.88 {expr edge cases} { |
| 6192 |
expr {3 % $min} |
| 6193 |
} {-2147483645} |
| 6194 |
test expr-34.89 {expr edge cases} { |
| 6195 |
expr {3 / ($min + 1)} |
| 6196 |
} {-1} |
| 6197 |
test expr-34.90 {expr edge cases} { |
| 6198 |
expr {3 % ($min + 1)} |
| 6199 |
} {-2147483644} |
| 6200 |
|
| 6201 |
# Euclidean property: |
| 6202 |
# quotient * divisor + remainder = dividend |
| 6203 |
|
| 6204 |
test expr-35.1 {expr edge cases} { |
| 6205 |
set dividend $max |
| 6206 |
set divisor 2 |
| 6207 |
set q [expr {$dividend / $divisor}] |
| 6208 |
set r [expr {$dividend % $divisor}] |
| 6209 |
list $q * $divisor + $r = [expr {($divisor * $q) + $r}] |
| 6210 |
} {1073741823 * 2 + 1 = 2147483647} |
| 6211 |
test expr-35.2 {expr edge cases} { |
| 6212 |
set dividend [expr {$max - 1}] |
| 6213 |
set divisor 2 |
| 6214 |
set q [expr {$dividend / $divisor}] |
| 6215 |
set r [expr {$dividend % $divisor}] |
| 6216 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6217 |
} {1073741823 * 2 + 0 = 2147483646} |
| 6218 |
test expr-35.3 {expr edge cases} { |
| 6219 |
set dividend [expr {$max - 2}] |
| 6220 |
set divisor 2 |
| 6221 |
set q [expr {$dividend / $divisor}] |
| 6222 |
set r [expr {$dividend % $divisor}] |
| 6223 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6224 |
} {1073741822 * 2 + 1 = 2147483645} |
| 6225 |
test expr-35.4 {expr edge cases} { |
| 6226 |
set dividend $max |
| 6227 |
set divisor 3 |
| 6228 |
set q [expr {$dividend / $divisor}] |
| 6229 |
set r [expr {$dividend % $divisor}] |
| 6230 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6231 |
} {715827882 * 3 + 1 = 2147483647} |
| 6232 |
test expr-35.5 {expr edge cases} { |
| 6233 |
set dividend [expr {$max - 1}] |
| 6234 |
set divisor 3 |
| 6235 |
set q [expr {$dividend / $divisor}] |
| 6236 |
set r [expr {$dividend % $divisor}] |
| 6237 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6238 |
} {715827882 * 3 + 0 = 2147483646} |
| 6239 |
test expr-35.6 {expr edge cases} { |
| 6240 |
set dividend [expr {$max - 2}] |
| 6241 |
set divisor 3 |
| 6242 |
set q [expr {$dividend / $divisor}] |
| 6243 |
set r [expr {$dividend % $divisor}] |
| 6244 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6245 |
} {715827881 * 3 + 2 = 2147483645} |
| 6246 |
test expr-35.7 {expr edge cases} { |
| 6247 |
set dividend $min |
| 6248 |
set divisor 2 |
| 6249 |
set q [expr {$dividend / $divisor}] |
| 6250 |
set r [expr {$dividend % $divisor}] |
| 6251 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6252 |
} {-1073741824 * 2 + 0 = -2147483648} |
| 6253 |
test expr-35.8 {expr edge cases} { |
| 6254 |
set dividend [expr {$min + 1}] |
| 6255 |
set divisor 2 |
| 6256 |
set q [expr {$dividend / $divisor}] |
| 6257 |
set r [expr {$dividend % $divisor}] |
| 6258 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6259 |
} {-1073741824 * 2 + 1 = -2147483647} |
| 6260 |
test expr-35.9 {expr edge cases} { |
| 6261 |
set dividend [expr {$min + 2}] |
| 6262 |
set divisor 2 |
| 6263 |
set q [expr {$dividend / $divisor}] |
| 6264 |
set r [expr {$dividend % $divisor}] |
| 6265 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6266 |
} {-1073741823 * 2 + 0 = -2147483646} |
| 6267 |
test expr-35.10 {expr edge cases} { |
| 6268 |
# Two things could happen here. The multiplication |
| 6269 |
# could overflow a 32 bit type, so that when |
| 6270 |
# 1 is added it overflows again back to min. |
| 6271 |
# The multiplication could also use a wide type |
| 6272 |
# to hold ($min - 1) until 1 is added and |
| 6273 |
# the number becomes $min again. |
| 6274 |
set dividend $min |
| 6275 |
set divisor 3 |
| 6276 |
set q [expr {$dividend / $divisor}] |
| 6277 |
set r [expr {$dividend % $divisor}] |
| 6278 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6279 |
} {-715827883 * 3 + 1 = -2147483648} |
| 6280 |
test expr-35.11 {expr edge cases} { |
| 6281 |
set dividend $min |
| 6282 |
set divisor -3 |
| 6283 |
set q [expr {$dividend / $divisor}] |
| 6284 |
set r [expr {$dividend % $divisor}] |
| 6285 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6286 |
} {715827882 * -3 + -2 = -2147483648} |
| 6287 |
test expr-35.12 {expr edge cases} { |
| 6288 |
set dividend $min |
| 6289 |
set divisor $min |
| 6290 |
set q [expr {$dividend / $divisor}] |
| 6291 |
set r [expr {$dividend % $divisor}] |
| 6292 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6293 |
} {1 * -2147483648 + 0 = -2147483648} |
| 6294 |
test expr-35.13 {expr edge cases} { |
| 6295 |
set dividend $min |
| 6296 |
set divisor [expr {$min + 1}] |
| 6297 |
set q [expr {$dividend / $divisor}] |
| 6298 |
set r [expr {$dividend % $divisor}] |
| 6299 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6300 |
} {1 * -2147483647 + -1 = -2147483648} |
| 6301 |
test expr-35.14 {expr edge cases} { |
| 6302 |
set dividend $min |
| 6303 |
set divisor [expr {$min + 2}] |
| 6304 |
set q [expr {$dividend / $divisor}] |
| 6305 |
set r [expr {$dividend % $divisor}] |
| 6306 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6307 |
} {1 * -2147483646 + -2 = -2147483648} |
| 6308 |
|
| 6309 |
# 64bit wide integer checks |
| 6310 |
|
| 6311 |
set min -9223372036854775808 |
| 6312 |
set max 9223372036854775807 |
| 6313 |
|
| 6314 |
test expr-36.1 {expr edge cases} {wideIs64bit} { |
| 6315 |
expr {$min / $min} |
| 6316 |
} {1} |
| 6317 |
test expr-36.2 {expr edge cases} {wideIs64bit} { |
| 6318 |
expr {$min % $min} |
| 6319 |
} {0} |
| 6320 |
test expr-36.3 {expr edge cases} {wideIs64bit} { |
| 6321 |
expr {$min / ($min + 1)} |
| 6322 |
} {1} |
| 6323 |
test expr-36.4 {expr edge cases} {wideIs64bit} { |
| 6324 |
expr {$min % ($min + 1)} |
| 6325 |
} {-1} |
| 6326 |
test expr-36.5 {expr edge cases} {wideIs64bit} { |
| 6327 |
expr {$min / ($min + 2)} |
| 6328 |
} {1} |
| 6329 |
test expr-36.6 {expr edge cases} {wideIs64bit} { |
| 6330 |
expr {$min % ($min + 2)} |
| 6331 |
} {-2} |
| 6332 |
test expr-36.7 {expr edge cases} {wideIs64bit} { |
| 6333 |
expr {$min / ($min + 3)} |
| 6334 |
} {1} |
| 6335 |
test expr-36.8 {expr edge cases} {wideIs64bit} { |
| 6336 |
expr {$min % ($min + 3)} |
| 6337 |
} {-3} |
| 6338 |
test expr-36.9 {expr edge cases} {wideIs64bit} { |
| 6339 |
expr {$min / -3} |
| 6340 |
} {3074457345618258602} |
| 6341 |
test expr-36.10 {expr edge cases} {wideIs64bit} { |
| 6342 |
expr {$min % -3} |
| 6343 |
} {-2} |
| 6344 |
test expr-36.11 {expr edge cases} {wideIs64bit} { |
| 6345 |
expr {$min / -2} |
| 6346 |
} {4611686018427387904} |
| 6347 |
test expr-36.12 {expr edge cases} {wideIs64bit} { |
| 6348 |
expr {$min % -2} |
| 6349 |
} {0} |
| 6350 |
test expr-36.13 {expr edge cases} wideIs64bit { |
| 6351 |
expr {wide($min / -1)} |
| 6352 |
} $min |
| 6353 |
test expr-36.14 {expr edge cases} {wideIs64bit} { |
| 6354 |
expr {$min % -1} |
| 6355 |
} {0} |
| 6356 |
test expr-36.15 {expr edge cases} wideIs64bit { |
| 6357 |
expr {wide($min * -1)} |
| 6358 |
} $min |
| 6359 |
test expr-36.16 {expr edge cases} wideIs64bit { |
| 6360 |
expr {wide(-$min)} |
| 6361 |
} $min |
| 6362 |
test expr-36.17 {expr edge cases} {wideIs64bit} { |
| 6363 |
expr {$min / 1} |
| 6364 |
} $min |
| 6365 |
test expr-36.18 {expr edge cases} {wideIs64bit} { |
| 6366 |
expr {$min % 1} |
| 6367 |
} {0} |
| 6368 |
test expr-36.19 {expr edge cases} {wideIs64bit} { |
| 6369 |
expr {$min / 2} |
| 6370 |
} {-4611686018427387904} |
| 6371 |
test expr-36.20 {expr edge cases} {wideIs64bit} { |
| 6372 |
expr {$min % 2} |
| 6373 |
} {0} |
| 6374 |
test expr-36.21 {expr edge cases} {wideIs64bit} { |
| 6375 |
expr {$min / 3} |
| 6376 |
} {-3074457345618258603} |
| 6377 |
test expr-36.22 {expr edge cases} {wideIs64bit} { |
| 6378 |
expr {$min % 3} |
| 6379 |
} {1} |
| 6380 |
test expr-36.23 {expr edge cases} {wideIs64bit} { |
| 6381 |
expr {$min / ($max - 3)} |
| 6382 |
} {-2} |
| 6383 |
test expr-36.24 {expr edge cases} {wideIs64bit} { |
| 6384 |
expr {$min % ($max - 3)} |
| 6385 |
} {9223372036854775800} |
| 6386 |
test expr-36.25 {expr edge cases} {wideIs64bit} { |
| 6387 |
expr {$min / ($max - 2)} |
| 6388 |
} {-2} |
| 6389 |
test expr-36.26 {expr edge cases} {wideIs64bit} { |
| 6390 |
expr {$min % ($max - 2)} |
| 6391 |
} {9223372036854775802} |
| 6392 |
test expr-36.27 {expr edge cases} {wideIs64bit} { |
| 6393 |
expr {$min / ($max - 1)} |
| 6394 |
} {-2} |
| 6395 |
test expr-36.28 {expr edge cases} {wideIs64bit} { |
| 6396 |
expr {$min % ($max - 1)} |
| 6397 |
} {9223372036854775804} |
| 6398 |
test expr-36.29 {expr edge cases} {wideIs64bit} { |
| 6399 |
expr {$min / $max} |
| 6400 |
} {-2} |
| 6401 |
test expr-36.30 {expr edge cases} {wideIs64bit} { |
| 6402 |
expr {$min % $max} |
| 6403 |
} {9223372036854775806} |
| 6404 |
test expr-36.31 {expr edge cases} {wideIs64bit} { |
| 6405 |
expr {$max / $max} |
| 6406 |
} {1} |
| 6407 |
test expr-36.32 {expr edge cases} {wideIs64bit} { |
| 6408 |
expr {$max % $max} |
| 6409 |
} {0} |
| 6410 |
test expr-36.33 {expr edge cases} {wideIs64bit} { |
| 6411 |
expr {$max / ($max - 1)} |
| 6412 |
} {1} |
| 6413 |
test expr-36.34 {expr edge cases} {wideIs64bit} { |
| 6414 |
expr {$max % ($max - 1)} |
| 6415 |
} {1} |
| 6416 |
test expr-36.35 {expr edge cases} {wideIs64bit} { |
| 6417 |
expr {$max / ($max - 2)} |
| 6418 |
} {1} |
| 6419 |
test expr-36.36 {expr edge cases} {wideIs64bit} { |
| 6420 |
expr {$max % ($max - 2)} |
| 6421 |
} {2} |
| 6422 |
test expr-36.37 {expr edge cases} {wideIs64bit} { |
| 6423 |
expr {$max / ($max - 3)} |
| 6424 |
} {1} |
| 6425 |
test expr-36.38 {expr edge cases} {wideIs64bit} { |
| 6426 |
expr {$max % ($max - 3)} |
| 6427 |
} {3} |
| 6428 |
test expr-36.39 {expr edge cases} {wideIs64bit} { |
| 6429 |
expr {$max / 3} |
| 6430 |
} {3074457345618258602} |
| 6431 |
test expr-36.40 {expr edge cases} {wideIs64bit} { |
| 6432 |
expr {$max % 3} |
| 6433 |
} {1} |
| 6434 |
test expr-36.41 {expr edge cases} {wideIs64bit} { |
| 6435 |
expr {$max / 2} |
| 6436 |
} {4611686018427387903} |
| 6437 |
test expr-36.42 {expr edge cases} {wideIs64bit} { |
| 6438 |
expr {$max % 2} |
| 6439 |
} {1} |
| 6440 |
test expr-36.43 {expr edge cases} {wideIs64bit} { |
| 6441 |
expr {$max / 1} |
| 6442 |
} $max |
| 6443 |
test expr-36.44 {expr edge cases} {wideIs64bit} { |
| 6444 |
expr {$max % 1} |
| 6445 |
} {0} |
| 6446 |
test expr-36.45 {expr edge cases} {wideIs64bit} { |
| 6447 |
expr {$max / -1} |
| 6448 |
} "-$max" |
| 6449 |
test expr-36.46 {expr edge cases} {wideIs64bit} { |
| 6450 |
expr {$max % -1} |
| 6451 |
} {0} |
| 6452 |
test expr-36.47 {expr edge cases} {wideIs64bit} { |
| 6453 |
expr {$max / -2} |
| 6454 |
} {-4611686018427387904} |
| 6455 |
test expr-36.48 {expr edge cases} {wideIs64bit} { |
| 6456 |
expr {$max % -2} |
| 6457 |
} {-1} |
| 6458 |
test expr-36.49 {expr edge cases} {wideIs64bit} { |
| 6459 |
expr {$max / -3} |
| 6460 |
} {-3074457345618258603} |
| 6461 |
test expr-36.50 {expr edge cases} {wideIs64bit} { |
| 6462 |
expr {$max % -3} |
| 6463 |
} {-2} |
| 6464 |
test expr-36.51 {expr edge cases} {wideIs64bit} { |
| 6465 |
expr {$max / ($min + 3)} |
| 6466 |
} {-2} |
| 6467 |
test expr-36.52 {expr edge cases} {wideIs64bit} { |
| 6468 |
expr {$max % ($min + 3)} |
| 6469 |
} {-9223372036854775803} |
| 6470 |
test expr-36.53 {expr edge cases} {wideIs64bit} { |
| 6471 |
expr {$max / ($min + 2)} |
| 6472 |
} {-2} |
| 6473 |
test expr-36.54 {expr edge cases} {wideIs64bit} { |
| 6474 |
expr {$max % ($min + 2)} |
| 6475 |
} {-9223372036854775805} |
| 6476 |
test expr-36.55 {expr edge cases} {wideIs64bit} { |
| 6477 |
expr {$max / ($min + 1)} |
| 6478 |
} {-1} |
| 6479 |
test expr-36.56 {expr edge cases} {wideIs64bit} { |
| 6480 |
expr {$max % ($min + 1)} |
| 6481 |
} {0} |
| 6482 |
test expr-36.57 {expr edge cases} {wideIs64bit} { |
| 6483 |
expr {$max / $min} |
| 6484 |
} {-1} |
| 6485 |
test expr-36.58 {expr edge cases} {wideIs64bit} { |
| 6486 |
expr {$max % $min} |
| 6487 |
} {-1} |
| 6488 |
test expr-36.59 {expr edge cases} {wideIs64bit} { |
| 6489 |
expr {($min + 1) / ($max - 1)} |
| 6490 |
} {-2} |
| 6491 |
test expr-36.60 {expr edge cases} {wideIs64bit} { |
| 6492 |
expr {($min + 1) % ($max - 1)} |
| 6493 |
} {9223372036854775805} |
| 6494 |
test expr-36.61 {expr edge cases} {wideIs64bit} { |
| 6495 |
expr {($max - 1) / ($min + 1)} |
| 6496 |
} {-1} |
| 6497 |
test expr-36.62 {expr edge cases} {wideIs64bit} { |
| 6498 |
expr {($max - 1) % ($min + 1)} |
| 6499 |
} {-1} |
| 6500 |
test expr-36.63 {expr edge cases} {wideIs64bit} { |
| 6501 |
expr {($max - 1) / $min} |
| 6502 |
} {-1} |
| 6503 |
test expr-36.64 {expr edge cases} {wideIs64bit} { |
| 6504 |
expr {($max - 1) % $min} |
| 6505 |
} {-2} |
| 6506 |
test expr-36.65 {expr edge cases} {wideIs64bit} { |
| 6507 |
expr {($max - 2) / $min} |
| 6508 |
} {-1} |
| 6509 |
test expr-36.66 {expr edge cases} {wideIs64bit} { |
| 6510 |
expr {($max - 2) % $min} |
| 6511 |
} {-3} |
| 6512 |
test expr-36.67 {expr edge cases} {wideIs64bit} { |
| 6513 |
expr {($max - 3) / $min} |
| 6514 |
} {-1} |
| 6515 |
test expr-36.68 {expr edge cases} {wideIs64bit} { |
| 6516 |
expr {($max - 3) % $min} |
| 6517 |
} {-4} |
| 6518 |
test expr-36.69 {expr edge cases} {wideIs64bit} { |
| 6519 |
expr {-3 / $min} |
| 6520 |
} {0} |
| 6521 |
test expr-36.70 {expr edge cases} {wideIs64bit} { |
| 6522 |
expr {-3 % $min} |
| 6523 |
} {-3} |
| 6524 |
test expr-36.71 {expr edge cases} {wideIs64bit} { |
| 6525 |
expr {-2 / $min} |
| 6526 |
} {0} |
| 6527 |
test expr-36.72 {expr edge cases} {wideIs64bit} { |
| 6528 |
expr {-2 % $min} |
| 6529 |
} {-2} |
| 6530 |
test expr-36.73 {expr edge cases} {wideIs64bit} { |
| 6531 |
expr {-1 / $min} |
| 6532 |
} {0} |
| 6533 |
test expr-36.74 {expr edge cases} {wideIs64bit} { |
| 6534 |
expr {-1 % $min} |
| 6535 |
} {-1} |
| 6536 |
test expr-36.75 {expr edge cases} {wideIs64bit} { |
| 6537 |
expr {0 / $min} |
| 6538 |
} {0} |
| 6539 |
test expr-36.76 {expr edge cases} {wideIs64bit} { |
| 6540 |
expr {0 % $min} |
| 6541 |
} {0} |
| 6542 |
test expr-36.77 {expr edge cases} {wideIs64bit} { |
| 6543 |
expr {0 / ($min + 1)} |
| 6544 |
} {0} |
| 6545 |
test expr-36.78 {expr edge cases} {wideIs64bit} { |
| 6546 |
expr {0 % ($min + 1)} |
| 6547 |
} {0} |
| 6548 |
test expr-36.79 {expr edge cases} {wideIs64bit} { |
| 6549 |
expr {1 / $min} |
| 6550 |
} {-1} |
| 6551 |
test expr-36.80 {expr edge cases} {wideIs64bit} { |
| 6552 |
expr {1 % $min} |
| 6553 |
} {-9223372036854775807} |
| 6554 |
test expr-36.81 {expr edge cases} {wideIs64bit} { |
| 6555 |
expr {1 / ($min + 1)} |
| 6556 |
} {-1} |
| 6557 |
test expr-36.82 {expr edge cases} {wideIs64bit} { |
| 6558 |
expr {1 % ($min + 1)} |
| 6559 |
} {-9223372036854775806} |
| 6560 |
test expr-36.83 {expr edge cases} {wideIs64bit} { |
| 6561 |
expr {2 / $min} |
| 6562 |
} {-1} |
| 6563 |
test expr-36.84 {expr edge cases} {wideIs64bit} { |
| 6564 |
expr {2 % $min} |
| 6565 |
} {-9223372036854775806} |
| 6566 |
test expr-36.85 {expr edge cases} {wideIs64bit} { |
| 6567 |
expr {2 / ($min + 1)} |
| 6568 |
} {-1} |
| 6569 |
test expr-36.86 {expr edge cases} {wideIs64bit} { |
| 6570 |
expr {2 % ($min + 1)} |
| 6571 |
} {-9223372036854775805} |
| 6572 |
test expr-36.87 {expr edge cases} {wideIs64bit} { |
| 6573 |
expr {3 / $min} |
| 6574 |
} {-1} |
| 6575 |
test expr-36.88 {expr edge cases} {wideIs64bit} { |
| 6576 |
expr {3 % $min} |
| 6577 |
} {-9223372036854775805} |
| 6578 |
test expr-36.89 {expr edge cases} {wideIs64bit} { |
| 6579 |
expr {3 / ($min + 1)} |
| 6580 |
} {-1} |
| 6581 |
test expr-36.90 {expr edge cases} {wideIs64bit} { |
| 6582 |
expr {3 % ($min + 1)} |
| 6583 |
} {-9223372036854775804} |
| 6584 |
|
| 6585 |
test expr-37.1 {expr edge cases} {wideIs64bit} { |
| 6586 |
set dividend $max |
| 6587 |
set divisor 2 |
| 6588 |
set q [expr {$dividend / $divisor}] |
| 6589 |
set r [expr {$dividend % $divisor}] |
| 6590 |
list $q * $divisor + $r = [expr {($divisor * $q) + $r}] |
| 6591 |
} {4611686018427387903 * 2 + 1 = 9223372036854775807} |
| 6592 |
test expr-37.2 {expr edge cases} {wideIs64bit} { |
| 6593 |
set dividend [expr {$max - 1}] |
| 6594 |
set divisor 2 |
| 6595 |
set q [expr {$dividend / $divisor}] |
| 6596 |
set r [expr {$dividend % $divisor}] |
| 6597 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6598 |
} {4611686018427387903 * 2 + 0 = 9223372036854775806} |
| 6599 |
test expr-37.3 {expr edge cases} {wideIs64bit} { |
| 6600 |
set dividend [expr {$max - 2}] |
| 6601 |
set divisor 2 |
| 6602 |
set q [expr {$dividend / $divisor}] |
| 6603 |
set r [expr {$dividend % $divisor}] |
| 6604 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6605 |
} {4611686018427387902 * 2 + 1 = 9223372036854775805} |
| 6606 |
test expr-37.4 {expr edge cases} {wideIs64bit} { |
| 6607 |
set dividend $max |
| 6608 |
set divisor 3 |
| 6609 |
set q [expr {$dividend / $divisor}] |
| 6610 |
set r [expr {$dividend % $divisor}] |
| 6611 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6612 |
} {3074457345618258602 * 3 + 1 = 9223372036854775807} |
| 6613 |
test expr-37.5 {expr edge cases} {wideIs64bit} { |
| 6614 |
set dividend [expr {$max - 1}] |
| 6615 |
set divisor 3 |
| 6616 |
set q [expr {$dividend / $divisor}] |
| 6617 |
set r [expr {$dividend % $divisor}] |
| 6618 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6619 |
} {3074457345618258602 * 3 + 0 = 9223372036854775806} |
| 6620 |
test expr-37.6 {expr edge cases} {wideIs64bit} { |
| 6621 |
set dividend [expr {$max - 2}] |
| 6622 |
set divisor 3 |
| 6623 |
set q [expr {$dividend / $divisor}] |
| 6624 |
set r [expr {$dividend % $divisor}] |
| 6625 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6626 |
} {3074457345618258601 * 3 + 2 = 9223372036854775805} |
| 6627 |
test expr-37.7 {expr edge cases} {wideIs64bit} { |
| 6628 |
set dividend $min |
| 6629 |
set divisor 2 |
| 6630 |
set q [expr {$dividend / $divisor}] |
| 6631 |
set r [expr {$dividend % $divisor}] |
| 6632 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6633 |
} {-4611686018427387904 * 2 + 0 = -9223372036854775808} |
| 6634 |
test expr-37.8 {expr edge cases} {wideIs64bit} { |
| 6635 |
set dividend [expr {$min + 1}] |
| 6636 |
set divisor 2 |
| 6637 |
set q [expr {$dividend / $divisor}] |
| 6638 |
set r [expr {$dividend % $divisor}] |
| 6639 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6640 |
} {-4611686018427387904 * 2 + 1 = -9223372036854775807} |
| 6641 |
test expr-37.9 {expr edge cases} {wideIs64bit} { |
| 6642 |
set dividend [expr {$min + 2}] |
| 6643 |
set divisor 2 |
| 6644 |
set q [expr {$dividend / $divisor}] |
| 6645 |
set r [expr {$dividend % $divisor}] |
| 6646 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6647 |
} {-4611686018427387903 * 2 + 0 = -9223372036854775806} |
| 6648 |
test expr-37.10 {expr edge cases} {wideIs64bit} { |
| 6649 |
# Multiplication overflows 64 bit type here, |
| 6650 |
# so when the 1 is added it overflows |
| 6651 |
# again and we end up back at min. |
| 6652 |
set dividend $min |
| 6653 |
set divisor 3 |
| 6654 |
set q [expr {$dividend / $divisor}] |
| 6655 |
set r [expr {$dividend % $divisor}] |
| 6656 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6657 |
} {-3074457345618258603 * 3 + 1 = -9223372036854775808} |
| 6658 |
test expr-37.11 {expr edge cases} {wideIs64bit} { |
| 6659 |
set dividend $min |
| 6660 |
set divisor -3 |
| 6661 |
set q [expr {$dividend / $divisor}] |
| 6662 |
set r [expr {$dividend % $divisor}] |
| 6663 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6664 |
} {3074457345618258602 * -3 + -2 = -9223372036854775808} |
| 6665 |
test expr-37.12 {expr edge cases} {wideIs64bit} { |
| 6666 |
set dividend $min |
| 6667 |
set divisor $min |
| 6668 |
set q [expr {$dividend / $divisor}] |
| 6669 |
set r [expr {$dividend % $divisor}] |
| 6670 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6671 |
} {1 * -9223372036854775808 + 0 = -9223372036854775808} |
| 6672 |
test expr-37.13 {expr edge cases} {wideIs64bit} { |
| 6673 |
set dividend $min |
| 6674 |
set divisor [expr {$min + 1}] |
| 6675 |
set q [expr {$dividend / $divisor}] |
| 6676 |
set r [expr {$dividend % $divisor}] |
| 6677 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6678 |
} {1 * -9223372036854775807 + -1 = -9223372036854775808} |
| 6679 |
test expr-37.14 {expr edge cases} {wideIs64bit} { |
| 6680 |
set dividend $min |
| 6681 |
set divisor [expr {$min + 2}] |
| 6682 |
set q [expr {$dividend / $divisor}] |
| 6683 |
set r [expr {$dividend % $divisor}] |
| 6684 |
list $q * $divisor + $r = [expr {($q * $divisor) + $r}] |
| 6685 |
} {1 * -9223372036854775806 + -2 = -9223372036854775808} |
| 6686 |
|
| 6687 |
test expr-38.1 {abs of smallest 32-bit integer [Bug 1241572]} {wideIs64bit} { |
| 6688 |
expr {abs(-2147483648)} |
| 6689 |
} 2147483648 |
| 6690 |
test expr-38.2 {abs and -0 [Bug 1893815]} { |
| 6691 |
expr {abs(-0)} |
| 6692 |
} 0 |
| 6693 |
test expr-38.3 {abs and -0 [Bug 1893815]} { |
| 6694 |
expr {abs(-0.0)} |
| 6695 |
} 0.0 |
| 6696 |
test expr-38.4 {abs and -0 [Bug 1893815]} { |
| 6697 |
expr {abs(-1e-324)} |
| 6698 |
} 0.0 |
| 6699 |
test expr-38.5 {abs and -0 [Bug 1893815]} { |
| 6700 |
::tcl::mathfunc::abs -0 |
| 6701 |
} 0 |
| 6702 |
test expr-38.6 {abs and -0 [Bug 1893815]} { |
| 6703 |
::tcl::mathfunc::abs -0.0 |
| 6704 |
} 0.0 |
| 6705 |
test expr-38.7 {abs and -0 [Bug 1893815]} { |
| 6706 |
::tcl::mathfunc::abs -1e-324 |
| 6707 |
} 0.0 |
| 6708 |
test expr-38.8 {abs and 0.0 [Bug 2954959]} { |
| 6709 |
::tcl::mathfunc::abs 0.0 |
| 6710 |
} 0.0 |
| 6711 |
test expr-38.9 {abs and 0.0 [Bug 2954959]} { |
| 6712 |
expr {abs(0.0)} |
| 6713 |
} 0.0 |
| 6714 |
test expr-38.10 {abs and -0x0 [Bug 2954959]} { |
| 6715 |
expr {abs(-0x0)} |
| 6716 |
} 0 |
| 6717 |
test expr-38.11 {abs and 0x0 [Bug 2954959]} { |
| 6718 |
::tcl::mathfunc::abs { 0x0} |
| 6719 |
} { 0x0} |
| 6720 |
test expr-38.12 {abs and -0x0 [Bug 2954959]} { |
| 6721 |
::tcl::mathfunc::abs { -0x0} |
| 6722 |
} 0 |
| 6723 |
test expr-38.13 {abs and 0.0 [Bug 2954959]} { |
| 6724 |
::tcl::mathfunc::abs 1e-324 |
| 6725 |
} 1e-324 |
| 6726 |
test expr-38.14 {abs and INT64_MIN special-case} { |
| 6727 |
::tcl::mathfunc::abs -9223372036854775808 |
| 6728 |
} 9223372036854775808 |
| 6729 |
test expr-38.15 {abs and INT128_MIN special-case} { |
| 6730 |
::tcl::mathfunc::abs -170141183460469231731687303715884105728 |
| 6731 |
} 170141183460469231731687303715884105728 |
| 6732 |
|
| 6733 |
testConstraint testexprlongobj [llength [info commands testexprlongobj]] |
| 6734 |
testConstraint testexprdoubleobj [llength [info commands testexprdoubleobj]] |
| 6735 |
|
| 6736 |
test expr-39.1 {Check that Tcl_ExprLongObj doesn't modify interpreter result if no error} testexprlongobj { |
| 6737 |
testexprlongobj 4+1 |
| 6738 |
} {This is a result: 5} |
| 6739 |
#Check for [Bug 1109484] |
| 6740 |
test expr-39.2 {Tcl_ExprLongObj handles wide ints gracefully} testexprlongobj { |
| 6741 |
testexprlongobj wide(1)+2 |
| 6742 |
} {This is a result: 3} |
| 6743 |
|
| 6744 |
test expr-39.3 {Tcl_ExprLongObj on the empty string} \ |
| 6745 |
-constraints {testexprlongobj}\ |
| 6746 |
-body {testexprlongobj ""} \ |
| 6747 |
-match glob \ |
| 6748 |
-returnCodes error -result * |
| 6749 |
test expr-39.4 {Tcl_ExprLongObj coerces doubles} testexprlongobj { |
| 6750 |
testexprlongobj 3+.14159 |
| 6751 |
} {This is a result: 3} |
| 6752 |
test expr-39.5 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6753 |
testexprlongobj 0x80000000 |
| 6754 |
} {This is a result: -2147483648} |
| 6755 |
test expr-39.6 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6756 |
testexprlongobj 0xffffffff |
| 6757 |
} {This is a result: -1} |
| 6758 |
test expr-39.7 {Tcl_ExprLongObj handles overflows} \ |
| 6759 |
-constraints {testexprlongobj longIs32bit} \ |
| 6760 |
-match glob \ |
| 6761 |
-body { |
| 6762 |
list [catch {testexprlongobj 0x100000000} result] $result |
| 6763 |
} \ |
| 6764 |
-result {1 {integer value too large to represent*}} |
| 6765 |
test expr-39.8 {Tcl_ExprLongObj handles overflows} testexprlongobj { |
| 6766 |
testexprlongobj -0x80000000 |
| 6767 |
} {This is a result: -2147483648} |
| 6768 |
test expr-39.9 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6769 |
testexprlongobj -0xffffffff |
| 6770 |
} {This is a result: 1} |
| 6771 |
test expr-39.10 {Tcl_ExprLongObj handles overflows} \ |
| 6772 |
-constraints {testexprlongobj longIs32bit} \ |
| 6773 |
-match glob \ |
| 6774 |
-body { |
| 6775 |
list [catch {testexprlongobj -0x100000000} result] $result |
| 6776 |
} \ |
| 6777 |
-result {1 {integer value too large to represent*}} |
| 6778 |
test expr-39.11 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6779 |
testexprlongobj 2147483648. |
| 6780 |
} {This is a result: -2147483648} |
| 6781 |
test expr-39.12 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6782 |
testexprlongobj 4294967295. |
| 6783 |
} {This is a result: -1} |
| 6784 |
test expr-39.13 {Tcl_ExprLongObj handles overflows} \ |
| 6785 |
-constraints {testexprlongobj longIs32bit} \ |
| 6786 |
-match glob \ |
| 6787 |
-body { |
| 6788 |
list [catch {testexprlongobj 4294967296.} result] $result |
| 6789 |
} \ |
| 6790 |
-result {1 {integer value too large to represent*}} |
| 6791 |
test expr-39.14 {Tcl_ExprLongObj handles overflows} testexprlongobj { |
| 6792 |
testexprlongobj -2147483648. |
| 6793 |
} {This is a result: -2147483648} |
| 6794 |
test expr-39.15 {Tcl_ExprLongObj handles overflows} {testexprlongobj longIs32bit} { |
| 6795 |
testexprlongobj -4294967295. |
| 6796 |
} {This is a result: 1} |
| 6797 |
test expr-39.16 {Tcl_ExprLongObj handles overflows} \ |
| 6798 |
-constraints {testexprlongobj longIs32bit} \ |
| 6799 |
-match glob \ |
| 6800 |
-body { |
| 6801 |
list [catch {testexprlongobj 4294967296.} result] $result |
| 6802 |
} \ |
| 6803 |
-result {1 {integer value too large to represent*}} |
| 6804 |
|
| 6805 |
test expr-39.17 {Check that Tcl_ExprDoubleObj doesn't modify interpreter result if no error} testexprdoubleobj { |
| 6806 |
testexprdoubleobj 4.+1. |
| 6807 |
} {This is a result: 5.0} |
| 6808 |
#Check for [Bug 1109484] |
| 6809 |
test expr-39.18 {Tcl_ExprDoubleObj on the empty string} \ |
| 6810 |
-constraints {testexprdoubleobj} \ |
| 6811 |
-match glob \ |
| 6812 |
-body {testexprdoubleobj ""} \ |
| 6813 |
-returnCodes error -result * |
| 6814 |
test expr-39.19 {Tcl_ExprDoubleObj coerces wides} testexprdoubleobj { |
| 6815 |
testexprdoubleobj 1[string repeat 0 17] |
| 6816 |
} {This is a result: 1e+17} |
| 6817 |
test expr-39.20 {Tcl_ExprDoubleObj coerces bignums} testexprdoubleobj { |
| 6818 |
testexprdoubleobj 1[string repeat 0 38] |
| 6819 |
} {This is a result: 1e+38} |
| 6820 |
test expr-39.21 {Tcl_ExprDoubleObj handles overflows} \ |
| 6821 |
testexprdoubleobj&&ieeeFloatingPoint { |
| 6822 |
testexprdoubleobj 17976931348623157[string repeat 0 292]. |
| 6823 |
} {This is a result: 1.7976931348623157e+308} |
| 6824 |
test expr-39.22 {Tcl_ExprDoubleObj handles overflows that look like int} \ |
| 6825 |
testexprdoubleobj&&ieeeFloatingPoint { |
| 6826 |
testexprdoubleobj 17976931348623157[string repeat 0 292] |
| 6827 |
} {This is a result: 1.7976931348623157e+308} |
| 6828 |
test expr-39.23 {Tcl_ExprDoubleObj handles overflows} \ |
| 6829 |
testexprdoubleobj&&ieeeFloatingPoint { |
| 6830 |
testexprdoubleobj 17976931348623165[string repeat 0 292]. |
| 6831 |
} {This is a result: Inf} |
| 6832 |
test expr-39.24 {Tcl_ExprDoubleObj handles overflows that look like int} \ |
| 6833 |
testexprdoubleobj&&ieeeFloatingPoint { |
| 6834 |
testexprdoubleobj 17976931348623165[string repeat 0 292] |
| 6835 |
} {This is a result: Inf} |
| 6836 |
test expr-39.25 {Tcl_ExprDoubleObj and NaN} \ |
| 6837 |
{testexprdoubleobj ieeeFloatingPoint} { |
| 6838 |
list [catch {testexprdoubleobj 0.0/0.0} result] $result |
| 6839 |
} {1 {domain error: argument not in valid range}} |
| 6840 |
|
| 6841 |
test expr-40.1 {large octal shift} { |
| 6842 |
expr 0o100000000000000000000000000000000 |
| 6843 |
} [expr 0x1000000000000000000000000] |
| 6844 |
test expr-40.2 {large octal shift} { |
| 6845 |
expr 0o100000000000000000000000000000001 |
| 6846 |
} [expr 0x1000000000000000000000001] |
| 6847 |
|
| 6848 |
test expr-41.1 {exponent overflow} { |
| 6849 |
expr 1.0e2147483630 |
| 6850 |
} Inf |
| 6851 |
test expr-41.2 {exponent underflow} { |
| 6852 |
expr 1.0e-2147483630 |
| 6853 |
} 0.0 |
| 6854 |
|
| 6855 |
test expr-41.3 {exponent overflow} { |
| 6856 |
expr 1e2147483647 |
| 6857 |
} Inf |
| 6858 |
test expr-41.4 {exponent overflow} { |
| 6859 |
expr 1e2147483648 |
| 6860 |
} Inf |
| 6861 |
test expr-41.5 {exponent overflow} { |
| 6862 |
expr 100e2147483645 |
| 6863 |
} Inf |
| 6864 |
test expr-41.6 {exponent overflow} { |
| 6865 |
expr 100e2147483646 |
| 6866 |
} Inf |
| 6867 |
test expr-41.7 {exponent overflow} { |
| 6868 |
expr 1.0e2147483647 |
| 6869 |
} Inf |
| 6870 |
test expr-41.8 {exponent overflow} { |
| 6871 |
expr 1.0e2147483648 |
| 6872 |
} Inf |
| 6873 |
test expr-41.9 {exponent overflow} { |
| 6874 |
expr 1.2e2147483647 |
| 6875 |
} Inf |
| 6876 |
test expr-41.10 {exponent overflow} { |
| 6877 |
expr 1.2e2147483648 |
| 6878 |
} Inf |
| 6879 |
|
| 6880 |
test expr-41.11 {exponent overflow} { |
| 6881 |
expr 1e-2147483648 |
| 6882 |
} 0.0 |
| 6883 |
test expr-41.12 {exponent overflow} { |
| 6884 |
expr 1e-2147483649 |
| 6885 |
} 0.0 |
| 6886 |
test expr-41.13 {exponent overflow} { |
| 6887 |
expr 100e-2147483650 |
| 6888 |
} 0.0 |
| 6889 |
test expr-41.14 {exponent overflow} { |
| 6890 |
expr 100e-2147483651 |
| 6891 |
} 0.0 |
| 6892 |
test expr-41.15 {exponent overflow} { |
| 6893 |
expr 1.0e-2147483648 |
| 6894 |
} 0.0 |
| 6895 |
test expr-41.16 {exponent overflow} { |
| 6896 |
expr 1.0e-2147483649 |
| 6897 |
} 0.0 |
| 6898 |
test expr-41.17 {exponent overflow} { |
| 6899 |
expr 1.23e-2147483646 |
| 6900 |
} 0.0 |
| 6901 |
test expr-41.18 {exponent overflow} { |
| 6902 |
expr 1.23e-2147483647 |
| 6903 |
} 0.0 |
| 6904 |
|
| 6905 |
test expr-41.19 {numSigDigs == 0} { |
| 6906 |
expr 0e309 |
| 6907 |
} 0.0 |
| 6908 |
test expr-41.20 {numSigDigs == 0} { |
| 6909 |
expr 0e310 |
| 6910 |
} 0.0 |
| 6911 |
test expr-41.21 {negative zero, large exponent} { |
| 6912 |
expr -0e309 |
| 6913 |
} -0.0 |
| 6914 |
test expr-41.22 {negative zero, large exponent} { |
| 6915 |
expr -0e310 |
| 6916 |
} -0.0 |
| 6917 |
test expr-41.23 {floating point overflow on significand (Bug 1de6b0629e)} { |
| 6918 |
expr 123[string repeat 0 309]1e-310 |
| 6919 |
} 123.0 |
| 6920 |
|
| 6921 |
test expr-42.1 {denormals} ieeeFloatingPoint { |
| 6922 |
expr 7e-324 |
| 6923 |
} 5e-324 |
| 6924 |
|
| 6925 |
# TIP 114 |
| 6926 |
|
| 6927 |
test expr-43.1 {0b notation} { |
| 6928 |
expr 0b0 |
| 6929 |
} 0 |
| 6930 |
test expr-43.2 {0b notation} { |
| 6931 |
expr 0b1 |
| 6932 |
} 1 |
| 6933 |
test expr-43.3 {0b notation} { |
| 6934 |
expr 0b10 |
| 6935 |
} 2 |
| 6936 |
test expr-43.4 {0b notation} { |
| 6937 |
expr 0b11 |
| 6938 |
} 3 |
| 6939 |
test expr-43.5 {0b notation} { |
| 6940 |
expr 0b100 |
| 6941 |
} 4 |
| 6942 |
test expr-43.6 {0b notation} { |
| 6943 |
expr 0b101 |
| 6944 |
} 5 |
| 6945 |
test expr-43.7 {0b notation} { |
| 6946 |
expr 0b1000 |
| 6947 |
} 8 |
| 6948 |
test expr-43.8 {0b notation} { |
| 6949 |
expr 0b1001 |
| 6950 |
} 9 |
| 6951 |
test expr-43.9 {0b notation} { |
| 6952 |
expr 0b1[string repeat 0 31] |
| 6953 |
} 2147483648 |
| 6954 |
test expr-43.10 {0b notation} { |
| 6955 |
expr 0b1[string repeat 0 30]1 |
| 6956 |
} 2147483649 |
| 6957 |
test expr-43.11 {0b notation} { |
| 6958 |
expr 0b[string repeat 1 64] |
| 6959 |
} 18446744073709551615 |
| 6960 |
test expr-43.12 {0b notation} { |
| 6961 |
expr 0b1[string repeat 0 64] |
| 6962 |
} 18446744073709551616 |
| 6963 |
test expr-43.13 {0b notation} { |
| 6964 |
expr 0b1[string repeat 0 63]1 |
| 6965 |
} 18446744073709551617 |
| 6966 |
|
| 6967 |
test expr-44.1 {0o notation} { |
| 6968 |
expr 0o0 |
| 6969 |
} 0 |
| 6970 |
test expr-44.2 {0o notation} { |
| 6971 |
expr 0o1 |
| 6972 |
} 1 |
| 6973 |
test expr-44.3 {0o notation} { |
| 6974 |
expr 0o7 |
| 6975 |
} 7 |
| 6976 |
test expr-44.4 {0o notation} { |
| 6977 |
expr 0o10 |
| 6978 |
} 8 |
| 6979 |
test expr-44.5 {0o notation} { |
| 6980 |
expr 0o11 |
| 6981 |
} 9 |
| 6982 |
test expr-44.6 {0o notation} { |
| 6983 |
expr 0o100 |
| 6984 |
} 64 |
| 6985 |
test expr-44.7 {0o notation} { |
| 6986 |
expr 0o101 |
| 6987 |
} 65 |
| 6988 |
test expr-44.8 {0o notation} { |
| 6989 |
expr 0o1000 |
| 6990 |
} 512 |
| 6991 |
test expr-44.9 {0o notation} { |
| 6992 |
expr 0o1001 |
| 6993 |
} 513 |
| 6994 |
test expr-44.10 {0o notation} { |
| 6995 |
expr 0o1[string repeat 7 21] |
| 6996 |
} 18446744073709551615 |
| 6997 |
test expr-44.11 {0o notation} { |
| 6998 |
expr 0o2[string repeat 0 21] |
| 6999 |
} 18446744073709551616 |
| 7000 |
test expr-44.12 {0o notation} { |
| 7001 |
expr 0o2[string repeat 0 20]1 |
| 7002 |
} 18446744073709551617 |
| 7003 |
|
| 7004 |
# TIP 237 again |
| 7005 |
|
| 7006 |
test expr-45.1 {entier} { |
| 7007 |
expr entier(0) |
| 7008 |
} 0 |
| 7009 |
test expr-45.2 {entier} { |
| 7010 |
expr entier(0.5) |
| 7011 |
} 0 |
| 7012 |
test expr-45.3 {entier} { |
| 7013 |
expr entier(1.0) |
| 7014 |
} 1 |
| 7015 |
test expr-45.4 {entier} { |
| 7016 |
expr entier(1.5) |
| 7017 |
} 1 |
| 7018 |
test expr-45.5 {entier} { |
| 7019 |
expr entier(2.0) |
| 7020 |
} 2 |
| 7021 |
test expr-45.6 {entier} { |
| 7022 |
expr entier(1e+22) |
| 7023 |
} 10000000000000000000000 |
| 7024 |
test expr-45.7 {entier} { |
| 7025 |
list [catch {expr entier(Inf)} result] $result |
| 7026 |
} {1 {integer value too large to represent}} |
| 7027 |
test expr-45.8 {entier} ieeeFloatingPoint { |
| 7028 |
list [catch {expr {entier($ieeeValues(NaN))}} result] $result |
| 7029 |
} {1 {floating point value is Not a Number}} |
| 7030 |
test expr-45.9 {entier} ieeeFloatingPoint { |
| 7031 |
list [catch {expr {entier($ieeeValues(-NaN))}} result] $result |
| 7032 |
} {1 {floating point value is Not a Number}} |
| 7033 |
|
| 7034 |
test expr-46.1 {round() rounds to +-infinity} { |
| 7035 |
expr round(0.5) |
| 7036 |
} 1 |
| 7037 |
test expr-46.2 {round() rounds to +-infinity} { |
| 7038 |
expr round(1.5) |
| 7039 |
} 2 |
| 7040 |
test expr-46.3 {round() rounds to +-infinity} { |
| 7041 |
expr round(-0.5) |
| 7042 |
} -1 |
| 7043 |
test expr-46.4 {round() rounds to +-infinity} { |
| 7044 |
expr round(-1.5) |
| 7045 |
} -2 |
| 7046 |
test expr-46.5 {round() overflow} { |
| 7047 |
expr round(9.2233720368547758e+018) |
| 7048 |
} 9223372036854775808 |
| 7049 |
test expr-46.6 {round() overflow} { |
| 7050 |
expr round(-9.2233720368547758e+018) |
| 7051 |
} -9223372036854775808 |
| 7052 |
test expr-46.7 {round() bad value} -body { |
| 7053 |
set x trash |
| 7054 |
expr {round($x)} |
| 7055 |
} -returnCodes error -match glob -result * |
| 7056 |
test expr-46.8 {round() already an integer} { |
| 7057 |
set x 123456789012 |
| 7058 |
incr x |
| 7059 |
expr round($x) |
| 7060 |
} 123456789013 |
| 7061 |
test expr-46.9 {round() boundary case - 1/2 - 1 ulp} { |
| 7062 |
set x 0.25 |
| 7063 |
set bit 0.125 |
| 7064 |
while 1 { |
| 7065 |
set newx [expr {$x + $bit}] |
| 7066 |
if { $newx == $x || $newx == 0.5 } break |
| 7067 |
set x $newx |
| 7068 |
set bit [expr { $bit / 2.0 }] |
| 7069 |
} |
| 7070 |
expr {round($x)} |
| 7071 |
} 0 |
| 7072 |
test expr-46.10 {round() boundary case - 1/2 + 1 ulp} { |
| 7073 |
set x 0.75 |
| 7074 |
set bit 0.125 |
| 7075 |
while 1 { |
| 7076 |
set newx [expr {$x - $bit}] |
| 7077 |
if { $newx == $x || $newx == 0.5 } break |
| 7078 |
set x $newx |
| 7079 |
set bit [expr { $bit / 2.0 }] |
| 7080 |
} |
| 7081 |
expr {round($x)} |
| 7082 |
} 1 |
| 7083 |
test expr-46.11 {round() boundary case - -1/2 - 1 ulp} { |
| 7084 |
set x -0.75 |
| 7085 |
set bit 0.125 |
| 7086 |
while 1 { |
| 7087 |
set newx [expr {$x + $bit}] |
| 7088 |
if { $newx == $x || $newx == -0.5 } break |
| 7089 |
set x $newx |
| 7090 |
set bit [expr { $bit / 2.0 }] |
| 7091 |
} |
| 7092 |
expr {round($x)} |
| 7093 |
} -1 |
| 7094 |
test expr-46.12 {round() boundary case - -1/2 + 1 ulp} { |
| 7095 |
set x -0.25 |
| 7096 |
set bit 0.125 |
| 7097 |
while 1 { |
| 7098 |
set newx [expr {$x - $bit}] |
| 7099 |
if { $newx == $x || $newx == -0.5 } break |
| 7100 |
set x $newx |
| 7101 |
set bit [expr { $bit / 2.0 }] |
| 7102 |
} |
| 7103 |
expr {round($x)} |
| 7104 |
} 0 |
| 7105 |
test expr-46.13 {round() boundary case - round down} { |
| 7106 |
expr {round(2147483647 - 0.51)} |
| 7107 |
} 2147483646 |
| 7108 |
|
| 7109 |
test expr-46.14 {round() boundary case - round up} { |
| 7110 |
expr {round(2147483647 - 0.50)} |
| 7111 |
} 2147483647 |
| 7112 |
|
| 7113 |
test expr-46.15 {round() boundary case - round up to wide} { |
| 7114 |
expr {round(2147483647 + 0.50)} |
| 7115 |
} [expr {wide(2147483647) + 1}] |
| 7116 |
|
| 7117 |
test expr-46.16 {round() boundary case - round up} { |
| 7118 |
expr {round(-2147483648 + 0.51)} |
| 7119 |
} -2147483647 |
| 7120 |
|
| 7121 |
test expr-46.17 {round() boundary case - round down} { |
| 7122 |
expr {round(-2147483648 + 0.50)} |
| 7123 |
} -2147483648 |
| 7124 |
test expr-46.18 {round() boundary case - round down to wide} { |
| 7125 |
expr {round(-2147483648 - 0.50)} |
| 7126 |
} [expr {wide(-2147483648) - 1}] |
| 7127 |
|
| 7128 |
test expr-46.19 {round() handling of long/bignum boundary} { |
| 7129 |
expr {round(double(0x7fffffffffffffff))} |
| 7130 |
} 9223372036854775808 |
| 7131 |
|
| 7132 |
test expr-47.1 {isqrt() - arg count} { |
| 7133 |
list [catch {expr {isqrt(1,2)}} result] $result |
| 7134 |
} {1 {too many arguments for math function "isqrt"}} |
| 7135 |
|
| 7136 |
test expr-47.2 {isqrt() - non-number} { |
| 7137 |
list [catch {expr {isqrt({rubbish})}} result] $result |
| 7138 |
} {1 {expected number but got "rubbish"}} |
| 7139 |
|
| 7140 |
test expr-47.3 {isqrt() - NaN} ieeeFloatingPoint { |
| 7141 |
list [catch {expr {isqrt(NaN)}} result] $result |
| 7142 |
} {1 {floating point value is Not a Number}} |
| 7143 |
|
| 7144 |
test expr-47.4 {isqrt() of negative floating point number} { |
| 7145 |
list [catch {expr {isqrt(-1.0)}} result] $result |
| 7146 |
} {1 {square root of negative argument}} |
| 7147 |
|
| 7148 |
test expr-47.5 {isqrt() of floating point zero} { |
| 7149 |
expr isqrt(0.0) |
| 7150 |
} 0 |
| 7151 |
|
| 7152 |
test expr-47.6 {isqrt() of exact floating point numbers} { |
| 7153 |
set trouble {} |
| 7154 |
for {set i 0} {$i < 16} {incr i} { |
| 7155 |
set root [expr {1 << $i}] |
| 7156 |
set rm1 [expr {$root - 1}] |
| 7157 |
set arg [expr {pow(2., (2 * $i))}] |
| 7158 |
if {isqrt($arg-1) != $rm1} { |
| 7159 |
append trouble "i = " $i ": isqrt( " $arg "-1) != " $rm1 "\n" |
| 7160 |
} |
| 7161 |
if {isqrt($arg) != $root} { |
| 7162 |
append trouble "i = " $i ": isqrt( " $arg ") != " $root "\n" |
| 7163 |
} |
| 7164 |
if {isqrt($arg+1) != $root} { |
| 7165 |
append trouble "i = " $i ": isqrt( " $arg "+1) != " $root "\n" |
| 7166 |
} |
| 7167 |
} |
| 7168 |
set trouble |
| 7169 |
} {} |
| 7170 |
|
| 7171 |
test expr-47.7 {isqrt() of exact floating point numbers} ieeeFloatingPoint { |
| 7172 |
set trouble {} |
| 7173 |
for {set i 17} {$i < 27} {incr i} { |
| 7174 |
set root [expr {1 << $i}] |
| 7175 |
set rm1 [expr {$root - 1}] |
| 7176 |
set arg [expr {pow(2., (2 * $i))}] |
| 7177 |
if {isqrt($arg-1.0) != $rm1} { |
| 7178 |
append trouble "i = " $i ": isqrt( " $arg "-1) != " $rm1 "\n" |
| 7179 |
} |
| 7180 |
if {isqrt($arg) != $root} { |
| 7181 |
append trouble "i = " $i ": isqrt( " $arg ") != " $root "\n" |
| 7182 |
} |
| 7183 |
if {isqrt($arg+1.0) != $root} { |
| 7184 |
append trouble "i = " $i ": isqrt( " $arg "+1) != " $root "\n" |
| 7185 |
} |
| 7186 |
} |
| 7187 |
set trouble |
| 7188 |
} {} |
| 7189 |
|
| 7190 |
test expr-47.8 {isqrt of inexact floating point number} ieeeFloatingPoint { |
| 7191 |
expr isqrt(2[string repeat 0 34]) |
| 7192 |
} 141421356237309504 |
| 7193 |
|
| 7194 |
test expr-47.9 {isqrt of negative int} { |
| 7195 |
list [catch {expr isqrt(-1)} result] $result |
| 7196 |
} {1 {square root of negative argument}} |
| 7197 |
|
| 7198 |
test expr-47.10 {isqrt of negative bignum} { |
| 7199 |
list [catch {expr isqrt(-1[string repeat 0 1000])} result] $result |
| 7200 |
} {1 {square root of negative argument}} |
| 7201 |
|
| 7202 |
test expr-47.11 {isqrt of zero} { |
| 7203 |
expr {isqrt(0)} |
| 7204 |
} 0 |
| 7205 |
|
| 7206 |
test expr-47.12 {isqrt of various sizes of integer} { |
| 7207 |
set faults 0 |
| 7208 |
set trouble {} |
| 7209 |
for {set i 0} {$faults < 10 && $i <= 1024} {incr i} { |
| 7210 |
set root [expr {1 << $i}] |
| 7211 |
set rm1 [expr {$root - 1}] |
| 7212 |
set arg [expr {1 << (2 * $i)}] |
| 7213 |
set tval [expr {isqrt($arg-1)}] |
| 7214 |
if {$tval != $rm1} { |
| 7215 |
append trouble "i = " $i ": isqrt(" $arg "-1) == " $tval \ |
| 7216 |
" != " $rm1 "\n" |
| 7217 |
incr faults |
| 7218 |
} |
| 7219 |
set tval [expr {isqrt($arg)}] |
| 7220 |
if {$tval != $root} { |
| 7221 |
append trouble "i = " $i ": isqrt(" $arg ") == " $tval \ |
| 7222 |
" != " $root "\n" |
| 7223 |
incr faults |
| 7224 |
} |
| 7225 |
set tval [expr {isqrt($arg+1)}] |
| 7226 |
if {$tval != $root} { |
| 7227 |
append trouble "i = " $i ": isqrt(" $arg "+1) == " $tval \ |
| 7228 |
" != " $root "\n" |
| 7229 |
incr faults |
| 7230 |
} |
| 7231 |
} |
| 7232 |
set trouble |
| 7233 |
} {} |
| 7234 |
|
| 7235 |
test expr-47.13 {isqrt and floating point rounding (Bug 2143288)} { |
| 7236 |
set trouble {} |
| 7237 |
set faults 0 |
| 7238 |
for {set i 0} {$i < 29 && $faults < 10} {incr i} { |
| 7239 |
for {set j 0} {$j <= $i} {incr j} { |
| 7240 |
set k [expr {isqrt((1<<56)+(1<<$i)+(1<<$j))}] |
| 7241 |
if {$k != (1<<28)} { |
| 7242 |
append trouble "i = $i, j = $j, k = $k\n" |
| 7243 |
incr faults |
| 7244 |
} |
| 7245 |
} |
| 7246 |
set k [expr {isqrt((1<<56)+(1<<29)+(1<<$i))}] |
| 7247 |
if {$k != (1<<28)+1} { |
| 7248 |
append trouble "i = $i, k = $k\n" |
| 7249 |
incr faults |
| 7250 |
} |
| 7251 |
} |
| 7252 |
set trouble |
| 7253 |
} {} |
| 7254 |
|
| 7255 |
test expr-48.1 {Bug 1770224} { |
| 7256 |
expr {-0x8000000000000001 >> 0x8000000000000000} |
| 7257 |
} -1 |
| 7258 |
|
| 7259 |
test expr-49.1 {Bug 2823282} { |
| 7260 |
coroutine foo apply {{} {set expr expr; $expr {[yield]}}} |
| 7261 |
foo 1 |
| 7262 |
} 1 |
| 7263 |
|
| 7264 |
test expr-50.1 {test sqrt() of bignums with non-Inf answer} { |
| 7265 |
expr {sqrt("1[string repeat 0 616]") == 1e308} |
| 7266 |
} 1 |
| 7267 |
|
| 7268 |
test expr-51.1 {test round-to-even on input} { |
| 7269 |
expr 6.9294956446009195e15 |
| 7270 |
} 6929495644600920.0 |
| 7271 |
|
| 7272 |
test expr-52.1 { |
| 7273 |
comparison with empty string does not generate string representation |
| 7274 |
} { |
| 7275 |
set a [list one two three] |
| 7276 |
list [expr {$a eq {}}] [expr {$a < {}}] [expr {$a > {}}] [ |
| 7277 |
string match {*no string representation*} [ |
| 7278 |
::tcl::unsupported::representation $a]] |
| 7279 |
} {0 0 1 1} |
| 7280 |
|
| 7281 |
test expr-bug-8dd2807066 {Bug 8dd2807066} { |
| 7282 |
expr {max(abs(-668336881543038127783364011867))} |
| 7283 |
} 668336881543038127783364011867 |
| 7284 |
|
| 7285 |
# Bug e3dcab1d14 |
| 7286 |
proc do-one-test-expr-63 {e p float athreshold} { |
| 7287 |
# e - power of 2 to test |
| 7288 |
# p - tcl_precision to test with |
| 7289 |
# float - floating point value 2**-$p |
| 7290 |
# athreshold - tolerable absolute error (1/2 decimal digit in |
| 7291 |
# least significant place plus 1/2 least significant bit) |
| 7292 |
set trouble {} |
| 7293 |
set ::tcl_precision $p |
| 7294 |
set xfmt x[expr $float] |
| 7295 |
set ::tcl_precision 0 |
| 7296 |
set fmt [string range $xfmt 1 end] |
| 7297 |
set aerror [expr {abs($fmt - $float)}] |
| 7298 |
if {$aerror > $athreshold} { |
| 7299 |
return "Result $fmt is more than $athreshold away from $float" |
| 7300 |
} else { |
| 7301 |
return {} |
| 7302 |
} |
| 7303 |
} |
| 7304 |
|
| 7305 |
proc run-test-expr-63 {} { |
| 7306 |
for {set e 0} {$e <= 1023} {incr e} { |
| 7307 |
set pt [expr {floor($e*log(2)/log(10))}] |
| 7308 |
for {set p 6} {$p <= 17} {incr p} { |
| 7309 |
set athreshold [expr {0.5*10.0**-($pt+$p) + 2.0**-($e+53)}] |
| 7310 |
set numer [expr {5**$e}] |
| 7311 |
set xfloat x[expr {2.**-$e}] |
| 7312 |
set float [string range $xfloat 1 end] |
| 7313 |
test expr-63.$p.$e "convert 2**-$e to decimal at precision $p" { |
| 7314 |
do-one-test-expr-63 $e $p $float $athreshold |
| 7315 |
} {} |
| 7316 |
} |
| 7317 |
} |
| 7318 |
rename do-one-test-expr-63 {} |
| 7319 |
rename run-test-expr-63 {} |
| 7320 |
} |
| 7321 |
run-test-expr-63 |
| 7322 |
|
| 7323 |
# cleanup |
| 7324 |
unset -nocomplain a |
| 7325 |
unset -nocomplain min |
| 7326 |
unset -nocomplain max |
| 7327 |
|
| 7328 |
::tcltest::cleanupTests |
| 7329 |
return |
| 7330 |
|
| 7331 |
# Local Variables: |
| 7332 |
# mode: tcl |
| 7333 |
# End: |