Lines Matching refs:exponent
248 $exponent = 0;
251 $exponent--;
255 $exponent += ($pointpos - 1);
261 return array('normalized'=>$binarypointnumber, 'exponent'=>(int) $exponent);
351 $exponent = Bin2Dec($exponentstring);
358 return pow(2, ($exponent - 16382)) * DecimalBinary2Float($fractionstring);
362 if (($exponent == (pow(2, $exponentbits) - 1)) && ($fraction != 0)) {
365 } elseif (($exponent == (pow(2, $exponentbits) - 1)) && ($fraction == 0)) {
371 } elseif (($exponent == 0) && ($fraction == 0)) {
378 } elseif (($exponent == 0) && ($fraction != 0)) {
384 } elseif ($exponent != 0) {
385 …$floatvalue = pow(2, ($exponent - (pow(2, $exponentbits - 1) - 1))) * (1 + DecimalBinary2Float($fr…