NetBoot/vasm-1/tfloat.h

11 lines
321 B
C
Raw Normal View History

2020-06-20 01:33:04 +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