Skip to content

bigint-c v0.0.2-unsafe

Latest
Compare
Choose a tag to compare
@th-blitz th-blitz released this 31 May 15:23
· 10 commits to main since this release

Added array length optimizations for the big-int module.

Fully tested features include

  • Addition
  • Subtraction
  • Multiplication (overflow preventive)
  • Comparison
  • Add by n
  • Multiply by n
  • Print big-int types
  • Convert from string to big-int type method ( supports decimal, binary and hex string representations )

Untested features

  • big-int type to string conversion
  • Error handling

Missing essential features

  • Multiplication (overflow allowed)
  • Exponential multiplication
  • Division
  • Exponential division
  • Floating point support
  • Type casting from native integer types to big-int type
  • Type casting from one big-int type to the other
  • Built in constants like pi, e etc

Additional missing features ( Nice to have features )

  • Built in power methods
  • Built in factorial methods
  • Built in logarithms methods
  • Built in prime number generators
  • Built in random number generators