22+ results for 'while !isfinite(x)' (0 ms)
Not the results you expected?
Numbers.js (https://github.com/harking/protovis.git) JavaScript · 313 lines
blue_641922.js (https://gitlab.com/Srijancse/ChakraCore) JavaScript · 92 lines
12 function makeArrayLength(x) {
13 if (x < 1 || x > 4294967295 || x != x || isNaN(x) || !isFinite(x)) return 100;
14 else return Math.floor(x) & 0xffff;
73 }
74 } while (((~((new Error('abc')) instanceof((typeof RegExp == 'function') ? RegExp : Object)))) && __loopvar0 < 3)
75 if ((((protoObj1.prop1--) != (((VarArr0.unshift(((parseInt("-60") instanceof((typeof EvalError == 'function') ? EvalError : Object)) instanceof((typeof Error == 'function') ? Error : Object)), (++protoObj1.length), ((-1773563946 * 84 + 4294967296) == arrObj0.prop1), (arrObj0.prop0 %= aliasOfi16[(protoObj0.prop0) & 255]), ({}
tgammaf.c (https://gitlab.com/ubuntu-trusty/mingw-w64) C · 194 lines
lgammaf.c (https://gitlab.com/ubuntu-xenial/mingw-w64) C · 187 lines
engel_expansion.hpp (https://bitbucket.org/bosp/external-boost.git) C++ Header · 116 lines
centered_continued_fraction.hpp (https://github.com/arx/ArxWindows.git) C++ Header · 154 lines
luroth_expansion.hpp (https://bitbucket.org/bosp/external-boost.git) C++ Header · 138 lines
floor.c (git://github.com/jeremybarnes/cephes.git) C · 453 lines
bug1868543.js (https://gitlab.com/Srijancse/ChakraCore) JavaScript · 35 lines
7 var e = -6;
8 function makeArrayLength(x) { if (x < 1 || x > 4294967295 || x != x || isNaN(x) || !isFinite(x)) return 100; else return Math.floor(x) & 0xffff; };;
9 var func3 = function (argStr4, argArr5, argArr6) {
19 obj1.length = makeArrayLength(undefined);
20 } while (((argArr5[(loopInvariant)] * ary[((((argArr6[(((arrObj0.prop0 >= 0 ? arrObj0.prop0 : 0)) & 0XF)] + i8[(18) & 255]) >= 0 ? (argArr6[(((arrObj0.prop0 >= 0 ? arrObj0.prop0 : 0)) & 0XF)] + i8[(18) & 255]) : 0)) & 0XF)] + ((obj1.prop1 !== e) || (arrObj0.prop0 != obj1.length)))))
21 return (5 in arrObj0);
test122.js (https://gitlab.com/Srijancse/ChakraCore) JavaScript · 35 lines
typ.js (http://story-steward.googlecode.com/svn/trunk/) JavaScript · 489 lines
pike_float.h (git://github.com/pikelang/Pike.git) C Header · 91 lines
match.c (https://github.com/nclack/whisk.git) C · 543 lines
33 #ifndef isinf
34 #define isinf(x) (!isfinite(x))
35 #endif
100 distMatrixTemp = distMatrix;
101 while(distMatrixTemp < distMatrixEnd)
102 {
122 distMatrixTemp = distMatrix;
123 while(distMatrixTemp < distMatrixEnd)
124 if(isinf(*distMatrixTemp++))
151 distMatrixTemp += nOfRows;
152 while(distMatrixTemp < distMatrixEnd)
153 {
161 distMatrixTemp = distMatrix + row;
162 while(distMatrixTemp < distMatrixEnd)
163 {
Float.java (https://github.com/scalagwt/google-web-toolkit-svnmirror.git) Java · 255 lines
tgammaf.c (https://github.com/scottt/cygwin-vmci-sockets.git) C · 265 lines
grisu.jl (https://github.com/cloudchamber/julia.git) Lisp · 157 lines
26 function grisu(x::Float64, mode::Integer, ndigits::Integer)
27 if !isfinite(x); error("non-finite value: $x"); end
28 if ndigits < 0; error("negative digits requested"); end
54 if mode == GRISU_PRECISION
55 while len > 1 && _jl_digits[len] == '0'
56 len -= 1
75 write(io, "0.")
76 while pt < 0
77 write(io, '0')
83 write(io, pdigits, len)
84 while pt > len
85 write(io, '0')
130 write(io, '.')
131 while pt < 0
132 write(io, '0')
exp.jl (https://github.com/JuliaLang/julia.git) Julia · 236 lines
33 return pos + 3
34 elseif !isfinite(x)
35 buf[pos] = UInt8('I')
62 i = len - 1
63 while i >= 0
64 j = p10bits - e2
98 i = MIN_BLOCK_2[idx + 1]
99 while i < 200
100 j = 120 + (-e2 - 16 * idx)
184 roundPos = pos
185 while true
186 roundPos -= 1
208 if trimtrailingzeros
209 while buf[pos - 1] == UInt8('0')
210 pos -= 1
fixed.jl (https://github.com/JuliaLang/julia.git) Julia · 182 lines
shortest.jl (https://github.com/JuliaLang/julia.git) Julia · 494 lines
95 # a) slow loop
96 while true
97 c_div10 = div(c, 10)
113 if a_allzero
114 while true
115 a_div10 = div(a, 10)
148 end
149 while true
150 c_div10 = div(c, 10)
166 # reduce to max significant digits
167 while true
168 b_div10 = div(b, 10)
180 # remove trailing zeros
181 while true
182 b_div10 = div(b, 10)
grisu.jl (https://github.com/stevengj/julia.git) Julia · 165 lines
29 function grisu(x::Float64, mode::Integer, ndigits::Integer)
30 if !isfinite(x); error("non-finite value: $x"); end
31 if ndigits < 0; error("negative digits requested"); end
61 if mode == PRECISION
62 while len > 1 && DIGITS[len] == '0'
63 len -= 1
81 write(io, "0.")
82 while pt < 0
83 write(io, '0')
89 write(io, pdigits, len)
90 while pt > len
91 write(io, '0')
135 write(io, '.')
136 while pt < 0
137 write(io, '0')