-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BigInt Fixes for Issues in Violet Tests #262
base: biginteger
Are you sure you want to change the base?
Commits on Apr 18, 2023
-
Added improved LosslessStringConvertible init() with order of magnitu…
…de faster performance. Removed unnecessary _digits and _digitRadix. Fixed a cut/paste problem in "^=" function. Added test cases for string conversion performance and logical operation tests.
Configuration menu - View commit details
-
Copy full SHA for d73aef0 - Browse repository at this point
Copy the full SHA d73aef0View commit details
Commits on Apr 19, 2023
-
Fixed a negate() corner case issue where a negative integer was turne…
…d into a negative. Fixed division/remainder signs after a multi-word division.
Configuration menu - View commit details
-
Copy full SHA for 4009679 - Browse repository at this point
Copy the full SHA 4009679View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e55107 - Browse repository at this point
Copy the full SHA 5e55107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67b17c2 - Browse repository at this point
Copy the full SHA 67b17c2View commit details
Commits on Apr 20, 2023
-
Added new CustomStringConvertible implementation (20X to 70X faster t…
…han the default).
Configuration menu - View commit details
-
Copy full SHA for 01928d0 - Browse repository at this point
Copy the full SHA 01928d0View commit details
Commits on Apr 22, 2023
-
New implementation for LosslessStringConvertible init?(); speeds conv…
…ersions by 35X to 310X times over original code. New implementation for CustomStringConvertible toString(); speeds conversions by 20X to 90X times over original code.
Configuration menu - View commit details
-
Copy full SHA for 696ea95 - Browse repository at this point
Copy the full SHA 696ea95View commit details
Commits on Apr 27, 2023
-
Removed Foundation import from BigInt.
Added an additional check to isValidPowerOfTwoRadix so odd numbers of bits (except radix 2) don't use the fast path in toString. Now use a table lookup to determine the radix number bits. Added a check for iOS for StringLiteralType. Tested code under iOS and macOS under simulator and x86
Configuration menu - View commit details
-
Copy full SHA for 1fc9e13 - Browse repository at this point
Copy the full SHA 1fc9e13View commit details