mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-22 04:21:20 +03:00
117 lines
3.1 KiB
C
117 lines
3.1 KiB
C
/* Copyright (C) 2022-2024 mintsuki and contributors.
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#if !defined(__FSTD_HDRS_FLOAT_H) || defined(__FSTD_HDRS_CXX_WRAP)
|
|
#if !defined(__FSTD_HDRS_CXX_WRAP)
|
|
#define __FSTD_HDRS_FLOAT_H 1
|
|
#endif
|
|
|
|
#undef FLT_ROUNDS
|
|
#define FLT_ROUNDS 1
|
|
|
|
#undef FLT_RADIX
|
|
#define FLT_RADIX __FLT_RADIX__
|
|
|
|
#undef FLT_MANT_DIG
|
|
#define FLT_MANT_DIG __FLT_MANT_DIG__
|
|
#undef DBL_MANT_DIG
|
|
#define DBL_MANT_DIG __DBL_MANT_DIG__
|
|
#undef LDBL_MANT_DIG
|
|
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
|
|
|
|
#undef DECIMAL_DIG
|
|
#define DECIMAL_DIG __DECIMAL_DIG__
|
|
|
|
#undef FLT_DECIMAL_DIG
|
|
#define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__
|
|
#undef DBL_DECIMAL_DIG
|
|
#define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__
|
|
#undef LDBL_DECIMAL_DIG
|
|
#define LDBL_DECIMAL_DIG __LDBL_DECIMAL_DIG__
|
|
|
|
#undef FLT_EVAL_METHOD
|
|
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
|
|
|
|
#undef FLT_DIG
|
|
#define FLT_DIG __FLT_DIG__
|
|
#undef DBL_DIG
|
|
#define DBL_DIG __DBL_DIG__
|
|
#undef LDBL_DIG
|
|
#define LDBL_DIG __LDBL_DIG__
|
|
|
|
#undef FLT_MIN_EXP
|
|
#define FLT_MIN_EXP __FLT_MIN_EXP__
|
|
#undef DBL_MIN_EXP
|
|
#define DBL_MIN_EXP __DBL_MIN_EXP__
|
|
#undef LDBL_MIN_EXP
|
|
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
|
|
|
|
#undef FLT_MIN_10_EXP
|
|
#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
|
|
#undef DBL_MIN_10_EXP
|
|
#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
|
|
#undef LDBL_MIN_10_EXP
|
|
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
|
|
|
|
#undef FLT_MAX_EXP
|
|
#define FLT_MAX_EXP __FLT_MAX_EXP__
|
|
#undef DBL_MAX_EXP
|
|
#define DBL_MAX_EXP __DBL_MAX_EXP__
|
|
#undef LDBL_MAX_EXP
|
|
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
|
|
|
|
#undef FLT_MAX_10_EXP
|
|
#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
|
|
#undef DBL_MAX_10_EXP
|
|
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
|
|
#undef LDBL_MAX_10_EXP
|
|
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
|
|
|
|
#undef FLT_MAX
|
|
#define FLT_MAX __FLT_MAX__
|
|
#undef DBL_MAX
|
|
#define DBL_MAX __DBL_MAX__
|
|
#undef LDBL_MAX
|
|
#define LDBL_MAX __LDBL_MAX__
|
|
|
|
#undef FLT_EPSILON
|
|
#define FLT_EPSILON __FLT_EPSILON__
|
|
#undef DBL_EPSILON
|
|
#define DBL_EPSILON __DBL_EPSILON__
|
|
#undef LDBL_EPSILON
|
|
#define LDBL_EPSILON __LDBL_EPSILON__
|
|
|
|
#undef FLT_MIN
|
|
#define FLT_MIN __FLT_MIN__
|
|
#undef DBL_MIN
|
|
#define DBL_MIN __DBL_MIN__
|
|
#undef LDBL_MIN
|
|
#define LDBL_MIN __LDBL_MIN__
|
|
|
|
#undef FLT_TRUE_MIN
|
|
#define FLT_TRUE_MIN __FLT_DENORM_MIN__
|
|
#undef DBL_TRUE_MIN
|
|
#define DBL_TRUE_MIN __DBL_DENORM_MIN__
|
|
#undef LDBL_TRUE_MIN
|
|
#define LDBL_TRUE_MIN __LDBL_DENORM_MIN__
|
|
|
|
#undef FLT_HAS_SUBNORM
|
|
#define FLT_HAS_SUBNORM __FLT_HAS_DENORM__
|
|
#undef DBL_HAS_SUBNORM
|
|
#define DBL_HAS_SUBNORM __DBL_HAS_DENORM__
|
|
#undef LDBL_HAS_SUBNORM
|
|
#define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__
|
|
|
|
#endif
|