Searched refs:inverseMax (Results 1 – 1 of 1) sorted by relevance
492 constexpr double inverseMax = 1.0 / std::numeric_limits<T>::max(); in normalizedToFloat() local493 return static_cast<float>(input * inverseMax); in normalizedToFloat()497 constexpr float inverseMax = 1.0f / std::numeric_limits<T>::max(); in normalizedToFloat() local498 return input * inverseMax; in normalizedToFloat()511 constexpr double inverseMax = 1.0 / ((1 << inputBitCount) - 1); in normalizedToFloat() local512 return static_cast<float>(input * inverseMax); in normalizedToFloat()516 constexpr float inverseMax = 1.0f / ((1 << inputBitCount) - 1); in normalizedToFloat() local517 return input * inverseMax; in normalizedToFloat()