summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins
diff options
context:
space:
mode:
authorEd Schouten <ed@80386.nl>2015-02-23 09:12:31 +0000
committerEd Schouten <ed@80386.nl>2015-02-23 09:12:31 +0000
commit4992099b42e9bb6faceb61ed093155bf2ebe7157 (patch)
tree05507f5d217f81a87b96215a2a952d58830599c7 /lldb/source/Plugins
parenteba692dd283d7bc29972670e938cb2405f509720 (diff)
downloadbcm5719-llvm-4992099b42e9bb6faceb61ed093155bf2ebe7157.tar.gz
bcm5719-llvm-4992099b42e9bb6faceb61ed093155bf2ebe7157.zip
Add C11 *_DECIMAL_DIG.
Before C11 there was only the DECIMAL_DIG definition. As of C11, we now have one definition per floating point type (e.g. DBL_DECIMAL_DIG). Change the existing code to define the new versions. To remain backward compatible, define __DECIMAL_DIG__ as __LDBL_DECIMAL_DIG__. Also update the tests. It seems that some of the existing test vectors were incorrect. Change all tests for __DECIMAL_DIG__ to expect __LDBL_DECIMAL_DIG__. Add tests for *_DECIMAL_DIG for FreeBSD/amd64, as I happen to have such a system laying around. I've validated that the values are in sync with <float.h>. llvm-svn: 230207
Diffstat (limited to 'lldb/source/Plugins')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud