Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linspace: "center" computations to handle extreme ranges correctly.
This forces the LinSpace divisor – either n*e or just n – to be in the range [1/2,0), which, in particular, prevents overflow even if the old computation could overflow. Needs more testing of corner cases, but this passes all of the existing tests at least.
- Loading branch information