Mercurial > mxe-octave
view src/build-msvctools/math/nan.c @ 5579:2734b3818171
Avoid double-free with librsb (bug #58957).
* src/librsb.mk: Add work-around to avoid double-free (provided by Michele
Martone).
* src/mingw-of-sparsersb-1-no-render.patch: Remove patch.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 02 Nov 2020 08:55:18 +0100 |
parents | f8299bb6c872 |
children |
line wrap: on
line source
#include <math.h> #include <ymath.h> static __inline double __fast_nan (const char* tagp) { return _Nan._Double; } static __inline double __fast_nanf (const char* tagp) { return _FNan._Float; } static __inline long double __fast_nanl (const char* tagp) { return _LNan._Long_double; } double nan (const char* tagp) { return __fast_nan (tagp); } float nanf (const char* tagp) { return __fast_nanf (tagp); } long double nanl (const char* tagp) { return __fast_nanl (tagp); }