Searched refs:FromDouble (Results 1 – 4 of 4) sorted by relevance
144 return F::FromDouble(e).raw(); in ReferenceOp()166 return F0::FromDouble(e).raw(); in ReferenceOp()185 return F::FromDouble(e).raw(); in ReferenceOp()205 return F0::FromDouble(e).raw(); in ReferenceOp()224 return F::FromDouble(e).raw(); in ReferenceOp()244 return F0::FromDouble(e).raw(); in ReferenceOp()295 F y = F::FromDouble(ToDouble(x)); in test_convert()303 FixedPoint<std::int32_t, tIntegerBits_b>::FromDouble(ToDouble(a)); in test_Rescale()326 ProductFixedPoint expected = ProductFixedPoint::FromDouble(ab_double); in test_mul()
301 static constexpr TimeDelta FromDouble(double value);755 return FromDouble(secs * Time::kMicrosecondsPerSecond); in FromSecondsD()760 return FromDouble(ms * Time::kMicrosecondsPerMillisecond); in FromMillisecondsD()765 return FromDouble(us); in FromMicrosecondsD()770 return FromDouble(ns / Time::kNanosecondsPerMicrosecond); in FromNanosecondsD()784 constexpr TimeDelta TimeDelta::FromDouble(double value) { in FromDouble() function
295 inverse_amplitude_normalized = FixedPoint<DataType, 0>::FromDouble(305 FixedPoint<DataType, 0>::FromDouble(amplitude_normalized_double);
493 static FixedPoint FromDouble(double x) {677 assert(result == FixedPointType::FromDouble(double_value));