Definition at line 310 of file colorimetric_response.h.
310 {
311 const float scaled = v *
static_cast<float>(
kLutQ) + 0.5f;
312 if (scaled <= -32768.0f) return -32768;
313 if (scaled >= 32767.0f) return 32767;
314 return static_cast<i16>(scaled);
315}
References fl::FL_NO_EXCEPT, and kLutQ.