Commit Graph

8 Commits

Author SHA1 Message Date
Dan Kortschak
36be7e6faa travis: check for copyright headers 2018-09-05 16:54:43 +09:30
Dan Kortschak
e558b37b29 floats: fix nearest, span and min/max index behaviours
* Fix nearest and span behaviours
* Fix max and min behaviour for NaN-containing slices
* Unexport exported test helpers
2018-02-25 13:57:12 +10:30
kortschak
39ce232e1a floats: fix Same for NaN/N 2018-01-31 07:26:30 +10:30
Dan Kortschak
95704fa00e floats: add functions for handling NaN payloads
This handles the simple case of ignoring sign and only dealing with
quiet NaN values since signalling NaN would require that we check that
at least one of the low bits was set and fail somehow if not.

Note that Go treats all NaNs as silent.
2017-11-20 20:20:44 +10:30
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
10a2e14f5d floats: deflake Round test 2017-07-06 13:33:59 +09:30
kortschak
a1347c0243 all: fix spelling errors 2017-06-20 16:29:35 +09:30
Brendan Tracey
105e523e1e floats: imported floats as a subtree 2017-05-23 00:02:44 -06:00