swift-numerics icon indicating copy to clipboard operation
swift-numerics copied to clipboard

Advanced mathematical types and functions for Swift

Results 82 swift-numerics issues
Sort by recently updated
recently updated
newest added
trafficstars

This update fixes all known issues published by @LiarPrincess (see various pull requests for details) Improves the LosslessStringConvertible init() run time by 35X (radix 10) and 310X (radix 16). Improves...

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- Tests where we want to express things like: - `∀xab, (x+a)+b = x+(a+b)` -...

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- ## 🐰 Discussion - `bitWidth` - current implementation rounds up to nearest multiple of...

This is a parent issue for merging `BigInt` tests from [Violet - Python VM written in Swift](https://github.com/LiarPrincess/Violet). In total is is about 400 tests (about 70% of Violet test cases)...

Improve String init() execution time and fix Violet bugs Pull request #262 addresses both these issues.

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- ## 💀 Crash ```Swift func test_initFromFloat_crash() { // 9223372036854775808 = UInt64(1)

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- Tests generated by [Node.js](https://nodejs.org/en/). It does require Node.js installed (obviously), but we could solve...

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- All pass. ## String parsing I think that `String` parsing performance can be improved....

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- === DO NOT MERGE! Discussion only. === ## 🐰 Discussion Those are the all...

Please read the [#242 Using tests from “Violet - Python VM written in Swift”](https://github.com/apple/swift-numerics/issues/242) before. --- ## 💀 Crash ```Swift func test_div_crash() { let lhs = BigInt("-9223372036854775808")! let rhs =...