Commit Graph
4 Commits
Author SHA1 Message Date
Nate Cook 8ca636d702 Add inlinability annotations throughout 2020-10-21 15:36:27 -05:00
Stephen Canon a0b7954f80 Use Swift Numerics for elementary functions instead of Darwin/Glibc/etc (#28)
Also lets us use root instead of exp(log(x)/k), which is more accurate in some cases (but mainly is just nicer to read).

The downside is that this introduces a dependency for Algorithms, where previously it had none. I think that Numerics is an OK thing to depend on (especially for these functions, which are available from 0.0.1), but it _is_ a _massive increase_ in the number of dependencies that the package has, and we should give that some thought.
2020-10-19 16:40:31 -05:00
Egor Zhdan 864d460a07 Fix build on Windows (#13)
log & exp are declared in `ucrt.corecrt.math`
2020-10-12 09:40:25 -05:00
Nate Cook 6cffd04a4f Initial import 2020-10-07 10:24:43 -05:00