summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/hexfloat.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't use std::__clz in 'test/support/hexfloat.h'.Eric Fiselier2016-05-031-4/+16
| | | | | | | | | | | std::__clz is a libc++ specific function so it can't be used in the test suite. This patch implements a dumb "count leading zeros" implementation within hexfloat itself. This patch also fixes UB since the output of `__builtin_clz(0)` is undefined according to the GCC docs. llvm-svn: 268354
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-051-0/+38
-I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594
OpenPOWER on IntegriCloud