Lines Matching refs:hi
146 $hi = abs((float)substr($v, 0, $p));
148 $m = $lo + $hi*1316134912.0; // (10 ^ 13) % (1 << 32) = 1316134912
151 $h = $hi*2328.0 + $q; // (10 ^ 13) / (1 << 32) = 2328
191 $hi = (int)substr ( $v, 0, $p );
193 $m = $lo + $hi*1316134912;
195 $h = $hi*2328 + (int)($m/4294967296);
215 $hi = (float)substr($v, 0, $p);
217 $m = $lo + $hi*1316134912.0;
220 $h = $hi*2328.0 + $q;
228 list ( $hi, $lo ) = array_values ( unpack ( "N*N*", $v ) );
232 if ( $hi<0 ) $hi += (1<<32); // because php 5.2.2 to 5.2.5 is totally fucked up again
236 if ( $hi<=2147483647 )
237 return ($hi<<32) + $lo;
241 return bcadd ( $lo, bcmul ( $hi, "4294967296" ) );
245 $h = ((int)($hi / $C) << 32) + (int)($lo / $C);
246 $l = (($hi % $C) << 32) + ($lo % $C);
259 if ( $hi==0 )
266 $hi = sprintf ( "%u", $hi );
271 return bcadd ( $lo, bcmul ( $hi, "4294967296" ) );
274 $hi = (float)$hi;
277 $q = floor($hi/10000000.0);
278 $r = $hi - $q*10000000.0;
294 list ( $hi, $lo ) = array_values ( unpack ( "N*N*", $v ) );
299 if ( $hi<0 ) $hi += (1<<32); // because php 5.2.2 to 5.2.5 is totally fucked up again
302 return ($hi<<32) + $lo;
306 if ( $hi==0 )
313 elseif ( $hi==-1 )
322 if ( $hi<0 )
324 $hi = ~$hi;
330 $hi = sprintf ( "%u", $hi );
335 return $neg . bcadd ( bcadd ( $lo, bcmul ( $hi, "4294967296" ) ), $c );
338 $hi = (float)$hi;
341 $q = floor($hi/10000000.0);
342 $r = $hi - $q*10000000.0;