|
9fbfba580a
|
maths: allow digits10 for 64 bit integers
|
2018-01-01 15:46:29 +11:00 |
|
|
b18feb8bc4
|
maths: use bit patterns for tests float values
this makes some of the tests more robust in the face of (potentially
stanard breaking) optimisations.
|
2017-07-25 17:08:52 +10:00 |
|
|
da00e77e7e
|
maths: add signed overloads for renormalise
|
2017-05-24 15:15:25 +10:00 |
|
|
791f8b2bcd
|
maths: remove rootsquare, use std::hypot instead
|
2015-11-16 13:18:29 +11:00 |
|
|
b1bc54ac8c
|
maths: move remaining operations into util namespace
|
2015-11-16 11:44:07 +11:00 |
|
|
7b083df977
|
maths: tighten up type requirements for almost_equal
almost_equal only operates on two reals, or two integers (and even then
only on the same signedness).
|
2015-11-13 17:18:10 +11:00 |
|
|
fe7e3e9c6f
|
test/maths: remove debug print statement
|
2015-10-29 18:23:07 +11:00 |
|
|
c2770a266b
|
maths: split normalise functions
|
2015-10-20 16:54:15 +11:00 |
|
|
08b6cbacea
|
float: lower ULPs threshold for almost_equal
we weren't detecting differences with 4 decimal point differences
|
2015-08-20 15:34:20 +10:00 |
|
|
abf88710b4
|
test: use TAP on more tests
|
2015-07-13 16:30:54 +10:00 |
|
|
7bc96bd60f
|
maths: explicitly instantiate PI for float, double
|
2015-05-01 02:42:32 +10:00 |
|
|
c052d7df4b
|
maths: use templated PI and E constants
|
2015-04-29 17:45:39 +10:00 |
|
|
bbbbb675a6
|
test: move tests to TAP output
|
2015-04-13 16:45:56 +10:00 |
|
|
9f6c17d6cf
|
maths: add renormalise function
|
2015-04-09 17:44:50 +10:00 |
|
|
2cd7ce0aca
|
maths: use qualified min/max functions
|
2015-03-07 03:21:06 +11:00 |
|
|
9a6c4572fa
|
float: correctly handle double comparisons
|
2015-02-03 15:54:55 +11:00 |
|
|
cae7a80ec1
|
test: move tests to flat directory structure
removes complications when srcpath/dstpath or child/parent directories
have naming collisions (in particular the json directories).
|
2015-01-30 16:45:57 +11:00 |
|
|
39617fb471
|
test: move maths namespace checks into own dir
|
2014-08-18 22:16:50 +10:00 |
|
|
4f5d75a1df
|
Make all check macros uppercase
|
2012-05-11 12:34:21 +10:00 |
|
|
f4ab656ef1
|
Temporarily disable broken test case
|
2012-05-11 12:20:54 +10:00 |
|
|
b6f9bf9ebd
|
Add tests for almost_equals NaN and Inf
|
2012-05-03 15:59:54 +10:00 |
|
|
745e06d1af
|
initial import from waif
|
2011-05-23 17:18:52 +10:00 |
|