Searched refs:inverseMax (Results 1 – 3 of 3) sorted by relevance
214 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1); in normalizedToFloat() local215 return input * inverseMax; in normalizedToFloat()227 constexpr float inverseMax = 1.0f / 0x7fff; in normalizedToFloat() local228 return static_cast<float>(input) * inverseMax; in normalizedToFloat()234 constexpr float inverseMax = 1.0f / 0x7fffffff; in normalizedToFloat() local235 return static_cast<float>(input) * inverseMax; in normalizedToFloat()241 constexpr float inverseMax = 1.0f / 0xffffffff; in normalizedToFloat() local242 return static_cast<float>(input) * inverseMax; in normalizedToFloat()
246 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1);247 return input * inverseMax;259 constexpr float inverseMax = 1.0f / 0x7fff;260 return static_cast<float>(input) * inverseMax;266 constexpr float inverseMax = 1.0f / 0x7fffffff;267 return static_cast<float>(input) * inverseMax;273 constexpr float inverseMax = 1.0f / 0xffffffff;274 return static_cast<float>(input) * inverseMax;
504 constexpr double inverseMax = 1.0 / std::numeric_limits<T>::max(); in normalizedToFloat() local505 return static_cast<float>(input * inverseMax); in normalizedToFloat()509 constexpr float inverseMax = 1.0f / std::numeric_limits<T>::max(); in normalizedToFloat() local510 return input * inverseMax; in normalizedToFloat()524 constexpr double inverseMax = 1.0 / ((1 << inputBitCount) - 1); in normalizedToFloat() local525 return static_cast<float>(input * inverseMax); in normalizedToFloat()529 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1); in normalizedToFloat() local530 return input * inverseMax; in normalizedToFloat()