Commit Graph
521 Commits
Author SHA1 Message Date
Stephen Canon 6d9de5d4ce Updates to resync with changes on master.
- Renamed scaled/unscaled to multiplied/divided
- Adopted new Real module name
- Adopted expMinusOne, log(onePlus:) names
2020-10-01 16:39:11 -04:00
Steve (Numerics) Canon e20b32d40f Initial pass over implementing ElementaryFunctions for Complex. 2020-10-01 16:39:11 -04:00
Stephen Canon 21282166fa Merge pull request #152 from stephentyrone/complex-trig
First pass over hyperbolics and trig functions for Complex.
2020-09-30 11:53:11 -04:00
Stephen Canon 6b24333510 Merge pull request #157 from stephentyrone/float16-availability-redux
Swap availability for #if check on Float16.
0.0.8
2020-09-18 16:59:35 -04:00
Stephen Canon e07b39453b Swap availability for #if check on Float16. 2020-09-18 16:01:51 -04:00
Stephen Canon 0f02c65854 Initial implementation of log(onePlus:) 2020-09-16 14:24:54 -04:00
Stephen Canon a76404b263 WIP 2020-09-15 14:33:21 -04:00
Markus Winter 298ea7d3f5 Merge pull request #6 from 8bitmp3/patch-1
Update Swift Numerics README to address feedback
2020-09-07 16:09:08 +02:00
8bitmp3 8e580358d4 Update Swift Numerics README to address feedback 2020-09-07 14:01:43 +01:00
Markus Winter 4b4dd42ad4 Merge pull request #5 from 8bitmp3/patch-1
Update Swift Numerics README to address feedback
2020-09-05 20:09:40 +02:00
8bitmp3 7be984de7e Update Swift Numerics README to address feedback 2020-09-05 18:16:28 +01:00
Markus Winter 6f96e6522d Merge pull request #4 from 8bitmp3/patch-2
Revert "new uses are discovered" in Swift Numerics README
2020-09-03 20:31:50 +02:00
8bitmp3 e95124c81f Revert "new uses are discovered" in Swift Numerics README 2020-09-03 18:21:31 +01:00
Markus Winter 2aeb3f8475 Merge pull request #3 from 8bitmp3/patch-1
Unwrap text, update Swift Numerics README
2020-09-03 19:14:54 +02:00
8bitmp3 ecfc4db4e9 Unwrap text, fix two minor syntactical errors in Swift Numerics README 2020-09-03 17:50:41 +01:00
Markus Winter f3e99a9c70 Syncs version number with latest release 2020-09-03 15:04:47 +02:00
Markus Winter 6d8d614bf2 Incorporate feedback in PR 2020-09-03 15:04:24 +02:00
Stephen Canon beb85076a5 Add TODO for algorithmic improvements on tanh. 2020-09-02 16:20:34 -04:00
Stephen Canon 6d396dfb44 First pass over hyperbolics and trig functions for Complex. 2020-09-02 16:02:41 -04:00
Stephen Canon f49d1af281 Moved sampling-based tests out of unit and into an exectuable target. 2020-09-02 09:09:39 -04:00
Markus Winter 82b04be57e Merge pull request #1 from 8bitmp3/patch-1
Enhance Swift Numerics README.md (technical writing perspective)
2020-09-02 15:06:58 +02:00
Stephen Canon 5eb865d25d Fix typo expMinusOne/exp in near-overflow check. 2020-09-02 08:49:46 -04:00
Stephen Canon 81e76b1a9a Refactor test support to remove XCTest dependency. 2020-09-02 08:49:19 -04:00
8bitmp3 dcad77ec73 Enhance Swift Numerics README.md (technical writing perspective) 2020-09-02 12:58:12 +01:00
Markus Winter 6ae59362f8 Update README to reflect inclusion of Approximate Equality 2020-09-02 09:53:06 +02:00
Stephen Canon 3d7462a834 Merge pull request #148 from stephentyrone/remove-f16-muladd
Remove muladdf16 for now.
0.0.7
2020-08-24 20:32:59 -04:00
Stephen Canon 0f8ef268d0 Remove muladdf16 for now. 2020-08-24 20:31:40 -04:00
Stephen Canon 694e5ae6de Cleanup. 2020-08-24 19:04:38 -04:00
Stephen Canon c26e60c6ba WIP on complex elementary functions.
Rebased on master, then cleaned up exp and expm1. New algorithm for expm1 that gives good componentwise accuracy as well as normwise. I _think_ that this is fundamentally new; I can't recall seeing it anywhere before, though it's simple enough that I expect someone has thought of it before.

Also beefed up testing for exp and expm1. Left sketches of log/pow/sqrt/root in place, though I'm still working on filling out the testing for those.
2020-08-24 19:03:20 -04:00
Stephen Canon 96a5383b0a Rename some tests to reflect what they actually do. 2020-08-24 19:01:46 -04:00
Stephen Canon 38b5251804 Updates to resync with changes on master.
- Renamed scaled/unscaled to multiplied/divided
- Adopted new Real module name
- Adopted expMinusOne, log(onePlus:) names
2020-08-24 19:01:46 -04:00
Steve (Numerics) Canon aaec0af9c8 Initial pass over implementing ElementaryFunctions for Complex. 2020-08-24 19:01:46 -04:00
Stephen Canon 3811e3bc7a Merge pull request #145 from stephentyrone/mulAdd-and-cosm1
Added mulAdd and cosMinusOne operations for Real.
2020-08-24 19:01:11 -04:00
Stephen Canon a0501be80a capitalization 2020-08-24 18:55:14 -04:00
Stephen Canon cda1b5e6f4 Added mulAdd and cosMinusOne operations for Real.
These are _mostly_ implementation hooks for Complex, but are generally useful, so I've made them public. Experimental, subject to renaming, especially mulAdd.
2020-08-24 18:52:58 -04:00
Stephen Canon fa16d7db6a Merge pull request #144 from stephentyrone/test-support
Factor test support out into a module
2020-08-24 18:51:59 -04:00
Stephen Canon a4372aa8d6 Added change suggested by Saleem for Windows/CMake build. 2020-08-24 18:31:12 -04:00
Stephen Canon 145156c40e Fix suggested by Saleem in review. 2020-08-24 16:50:10 -04:00
Stephen Canon c2d6cb716d Factor test support out into a module so Real and Complex tests can use it. 2020-08-24 16:21:25 -04:00
Stephen Canon 4077cd3461 Merge pull request #143 from stephentyrone/summer-cleanup
Rename some tests to reflect what they actually do.
2020-08-23 16:08:36 -04:00
Stephen Canon 337be4044e Rename some tests to reflect what they actually do. 2020-08-23 16:06:24 -04:00
Stephen Canon ddbc41f80b Merge pull request #140 from compnerd/complete-tests
Tests: add new tests to the Windows test suite
2020-08-05 14:25:40 -04:00
Stephen Canon 2342ba6314 Merge pull request #139 from compnerd/autolinking
Numerics: make `import Numerics` function on Windows
2020-08-05 14:23:52 -04:00
Saleem Abdulrasool 6af70e51ea Tests: add new tests to the Windows test suite
This adds the newly added tests to the Windows tests and adds a
dependency on the Numerics module which is used as well to prevent any
race conditions.
2020-08-05 18:22:33 +00:00
Saleem Abdulrasool d32bb739d4 Numerics: make import Numerics function on Windows
The `Numerics` module does not provide any symbols.  As a workaround,
provide the force link support.  Doing so exposes a bug in TBD
validation (SR-12254), which requires a workaround as well.  This
enables the use of `import Numerics` on Windows.
2020-08-05 18:21:38 +00:00
Stephen Canon 6b89e8d4b0 Merge pull request #138 from stephentyrone/relax-windows-pow-tolerances
Relax tolerances for some extreme pow cases on Windows.
2020-08-05 14:14:19 -04:00
Stephen Canon ce58d083a1 Relax tolerances for some extreme pow cases on Windows. 2020-08-05 14:13:08 -04:00
Stephen Canon 555340e882 Merge pull request #137 from compnerd/float16
build: add new source file to `RealModule`
2020-08-05 13:50:56 -04:00
Saleem Abdulrasool 7109a22972 build: add new source file to RealModule
`Float16+Real.swift` was added to the source tree, update the build
rules.
2020-08-05 10:28:19 -07:00
Stephen Canon ea6d7ffd5e Merge pull request #136 from stephentyrone/the-future-is-now
The future is now
2020-08-04 14:31:33 -04:00