Commit Graph
5 Commits
Author SHA1 Message Date
Steve (Numerics) Canon 919f13ce2e Restore the NumericShims module, use it instead of silgen_name.
I had thought that we could get away with just using @_silgen_name to wrap the platform libm functions in ElementaryFunctions conformances, but that's now failing in release builds when both ElementaryFunctions and the Platform module are imported (and actually crashing swiftc).

Fall back on the previous strategy of using C header shims. This adds an extra layer of source abstraction, but we're still able to optimize it away at compile time, even in unoptimized builds, so we can live with it for now.
2019-08-01 22:12:03 -04:00
Steve (Numerics) Canon 8977e637f4 Fix a typo in the _silgen_name for expMinusOne functions. 2019-08-01 10:33:51 -04:00
Steve (Numerics) Canon 4a2409ffcd Give expm1 and logp1 more explicit names
These names are relatively standard, but more cryptic than they might be. Let's try using something else; I think that there's a decent chance we'll end up going back to the short/common names eventually, but it's worth experimenting with these a little bit.
2019-07-22 11:07:10 -04:00
Steve (Numerics) Canon fa9422ec6e Remove NumericShims module; we don't need it thanks to silgen_name. 2019-07-19 16:29:53 -04:00
Steve (Numerics) Canon 8aab7a90f8 Initial project setup for swift-numerics
Two modules to begin with:
- ElementaryFunctions
- Complex
Added README.md files describing each module very roughly, and a project
README to describe goals and process.
2019-07-06 15:27:21 -04:00