RGBtoHDMI/tools/vasm/tfloat.h

11 wiersze
321 B
C
Czysty Zwykły widok Historia

2021-11-15 01:43:24 +00:00
/* tfloat.h Floating point type and string conversion function. */
/* (c) 2014 Frank Wille */
#if defined(__VBCC__) || (defined(_MSC_VER) && _MSC_VER < 1800) || defined(__CYGWIN__)
typedef double tfloat;
#define strtotfloat(n,e) strtod(n,e)
#else
typedef long double tfloat;
#define strtotfloat(n,e) strtold(n,e)
#endif