Stephen Canon
Stephen Canon
All of the usual `ElementaryFunctions` operations should be defined for `Complex` types. Implementation details may be found in Kahan's "Branch Cuts for Complex Elementary Functions; or Much Ado About Nothing's...
Add a flexibly-sized bigint type that grows as required, conforming to `BinaryInteger`.
I never had heterogeneous real-complex addition or subtraction, and I've [removed](https://github.com/apple/swift-numerics/pull/11) the multiply and division operators because of type-inference issues discussed in the README. This is a minor inconvenience for...
The trig-reduction implementations assume that the rounding mode is round-to-nearest, and do not function correctly if it isn't. Example: sinf(-0x1.4665d2p+27). The mathematically precise result is approximately -0x1.927bcc77af475p-25, but in round-toward-zero...
Added some docc catalogs and articles, fixed a bunch of minor errors, all that good stuff. More work needed.
**Explanation:** New implementation of `.seconds` ... `.nanoseconds` that do not use 128b integers and therefore can be marked inlinable for specialization purposes. Also allow clocks to create durations directly without...
## Overflow-safe integer midpoint with rounding control Draft because I am not sold on the free-function spelling `midpoint(a, b)`. It is desirable by symmetry with `min(a, b)` and `max(a, b)`,...
We should allow RNGs to be ~Copyable. For one thing, they simply don't need to be copyable. For another, it's entirely plausible that it would be desirable to bind an...