mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-12-11 20:49:37 +00:00
11 lines
321 B
C
11 lines
321 B
C
/* 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
|