Re: [LAD] Is -ffast-math safe for audio?

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Nov 23 2018 - 00:44:31 EET

On 11/22/2018 09:27 PM, Hermann Meyer wrote:
>
>
> However, problems with NAN's and INF's when use -ffinite-math-only
> occurs only when we save preset values to file, and only sometimes then.

A shot in the dark..

Serializing a float in most parts of the world uses comma as decimal
separator. e.g. "0,5"

Reading this in the C-locale (dot as decimal separator) with c/c++
standard library functions returns 0. This may lead to a division by
zero later.

Cheers!
robin
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Nov 23 04:15:02 2018

This archive was generated by hypermail 2.1.8 : Fri Nov 23 2018 - 04:15:02 EET