Lines Matching refs:floatvalue
266 function Float2BinaryDecimal($floatvalue) { argument
269 $intpart = trunc($floatvalue);
270 $floatpart = abs($floatvalue - $intpart);
283 function Float2String($floatvalue, $bits) { argument
300 if ($floatvalue >= 0) {
305 $normalizedbinary = NormalizeBinaryPoint(Float2BinaryDecimal($floatvalue), $fractionbits);
364 $floatvalue = false;
367 $floatvalue = '-infinity';
369 $floatvalue = '+infinity';
373 $floatvalue = -0;
375 $floatvalue = 0;
377 $floatvalue = ($signbit ? 0 : -0);
380 …$floatvalue = pow(2, (-1 * (pow(2, $exponentbits - 1) - 2))) * DecimalBinary2Float($fractionstring…
382 $floatvalue *= -1;
385 …$floatvalue = pow(2, ($exponent - (pow(2, $exponentbits - 1) - 1))) * (1 + DecimalBinary2Float($fr…
387 $floatvalue *= -1;
390 return (float) $floatvalue;