Closed thatcosmonaut closed 1 week ago
Fixed here to NaN https://github.com/phoboslab/qoa/pull/57/commits/66ee62d0ff59b55d3ddd1833e1ac6802d9cc1ace then later to INFINITY. The line number is different, since it must have moved, I do not see such elsewhere.
The C99 spec states that
In qoaconv.c L270:
This refuses to compile on some compilers like MSVC.
Changing
1.0/0.0
to the INFINITY macro seems to work fine.