Skip to content

Releases: RandomHashTags/swift_huge-numbers

1.1.1

Choose a tag to compare

@RandomHashTags RandomHashTags released this 16 May 07:02

fixed a compile failure when running on linux

Full Changelog: 1.1.0...1.1.1

1.1.0

Choose a tag to compare

@RandomHashTags RandomHashTags released this 06 Sep 19:13

Additions

  • move_decimal function to HugeFloat
  • global abs function to HugeDecimal.swift

Breaking Changes

  • multiply_by_ten & multiply_decimal_by_ten functions in HugeFloat now works as their name implies
  • unit test maintainability changes
  • mutating function multiplied_by_ten in HugeInt no longer returns a result

Performance Improvements

  • HugeFloat function to_decimal by ~132,000 nanoseconds
  • minor one by removing redundant comparison when checking if two HugeFloats are equal

Full Changelog: 1.0.16...1.1.0

1.0.16

Choose a tag to compare

@RandomHashTags RandomHashTags released this 11 Jul 04:22
  • added String.LocalizationValue.StringInterpolation support for HugeInt and HugeFloat
  • HugeInt now tries to use native division, resulting in a significant performance improvement when it can, otherwise it defaults back to the custom division logic

Full Changelog: 1.0.15...1.0.16

1.0.15

Choose a tag to compare

@RandomHashTags RandomHashTags released this 06 Jul 23:37
  • added rounded function to HugeFloat
  • multiply_by_ten now respects remainders
  • updated README to reflect project requirements
  • added installation section to README
  • added podspec file, so it can be imported by CocoaPods

Full Changelog: 1.0.14...1.0.15

1.0.14

Choose a tag to compare

@RandomHashTags RandomHashTags released this 17 Jun 11:38
  • performance improvements to all arithmetic operations (addition, subtraction, multiplication, division)
  • multiple logic issue fixes
  • renamed huge-numbers product to HugeNumbers
  • changed numbers from UInt8 to Int8
  • HugeInt, HugeFloat, HugeDecimal and HugeRemainder now conform to CustomStringConvertible
  • corrected some documentation

Full Changelog: 1.0.13...1.0.14

1.0.13

Choose a tag to compare

@RandomHashTags RandomHashTags released this 19 May 19:18
  • performance improvements to arithmetic operations (addition and division)
  • performance improvement to get_factors and get_factors_parallel in HugeInt
  • fixed a logic issue when using multiply_decimal_by_ten on a HugeFloat
  • added arithmetic benchmark results for this version

Full Changelog: 1.0.12...1.0.13

1.0.12

Choose a tag to compare

@RandomHashTags RandomHashTags released this 09 May 14:38
  • fixed a logic issue when comparing HugeFloats
  • fixed a logic issue when using multiply_decimal_by_ten on a HugeFloat
  • fixed some typos in documentation

Full Changelog: 1.0.11...1.0.12

1.0.11

Choose a tag to compare

@RandomHashTags RandomHashTags released this 07 May 20:50
  • fixed a logic issue when taking a HugeInt/HugeFloat to a power
  • fixed a logic issue when subtracting HugeFloats
  • added some documentation
  • added is_zero computed property to HugeFloat
  • optimized converting a HugeDecimal to a HugeRemainder via to_remainder computed property
  • made simplify_parallel publicly available in HugeRemainder

Full Changelog: 1.0.10...1.0.11

1.0.10

Choose a tag to compare

@RandomHashTags RandomHashTags released this 03 May 02:31

fixed a corner-case logic issue when dividing HugeInts

Full Changelog: 1.0.9...1.0.10

1.0.9

Choose a tag to compare

@RandomHashTags RandomHashTags released this 02 May 09:35

fixed a corner-case logic issue when using multiply_decimal_by_ten on a HugeFloat

Full Changelog: 1.0.8...1.0.9