diff options
author | Angus Gratton <angus@redyak.com.au> | 2024-11-20 16:15:20 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-11-28 23:56:21 +1100 |
commit | 564ef28ad2ca1c0fb302ac3f46d5f2d07de353de (patch) | |
tree | e17c28ce2c0e3a526570eea322999199bff75c54 /py/pystack.h | |
parent | 7118942a8c03413e0e85b9b42fc9e1b167966d57 (diff) | |
download | micropython-564ef28ad2ca1c0fb302ac3f46d5f2d07de353de.tar.gz micropython-564ef28ad2ca1c0fb302ac3f46d5f2d07de353de.zip |
py/objfloat: Workaround non-constant NAN definition on Windows MSVC.
Recent MSVC versions have changed the definition of NAN to a non-constant
expression! This is a bug, C standard says it should be a constant.
Good explanation and workaround at: https://stackoverflow.com/a/79199887
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/pystack.h')
0 files changed, 0 insertions, 0 deletions