static void float_to_fixed24_c(int32_t *dst, const float *src, unsigned int len)
{
    const float scale = 1 << 24;
    do {
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        *dst++ = lrintf(*src++ * scale);
        len -= 8;
    } while (len > 0);
}
['static void float_to_fixed24_c(int32_t *dst, const float *src, unsigned int len)\n{\n    const float scale = 1 << 24;\n    do {\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        *dst++ = lrintf(*src++ * scale);\n        len -= 8;\n    } while (len > 0);\n}']