2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-19 02:12:19 +00:00
Files
compute/include
Jason Rhinelander d4653c6624 Use nextafter to push values down into [0,1) range
Without this, we can get values of 1, but that leads to negative
infinity from the following log; if we push the x1 value towards 0, we
ensure that (one-x1) is always a value in (0,1], and so the log value
will be in (-inf, 0], which is what we want.
2016-04-22 19:27:47 -04:00
..