summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/float.c
Commit message (Collapse)AuthorAgeFilesLines
* test/Headers/float.c: fix theoretical edge valuesHubert Tong2016-02-121-11/+11
| | | | | | | | | | For *_MANT_DIG, *_MAX_EXP and *_MIN_EXP, the C Standard does not list the least requirements directly. This patch adjusts the test values with refined ones. Patch by Jorge Teixeira! llvm-svn: 260710
* <float.h>: do not define DECIMAL_DIG in -std=c89 mode; this macro was added ↵Richard Smith2016-02-121-6/+20
| | | | | | | | in C99. Patch by Jorge Teixeira! llvm-svn: 260639
* Remove bogus check that larger floating point types have smaller minimumRichard Smith2016-02-111-8/+0
| | | | | | normalized exponents. That's not true for double versus double double. llvm-svn: 260610
* XFAIL this test for PPC64 for now. It looks like the *_MIN_EXP macros are in ↵Richard Smith2016-02-111-0/+2
| | | | | | fact defined incorrectly for that target. llvm-svn: 260583
* In C11, provide macros FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, and ↵Richard Smith2016-02-111-0/+211
LDBL_DECIMAL_DIG in <float.h>. Patch by Jorge Teixeira! llvm-svn: 260577
OpenPOWER on IntegriCloud