Skip to content

JAvascript Multiple Precision Arithmetic libraRY

License

Notifications You must be signed in to change notification settings

munrocket/jampary

Repository files navigation

JAMPARY: JAvascript Multiple Precision Arithmetic libraRY

(Modern arbitrary-precision arithmetic library using floating-point expansions.)

Disclamer

It's not finished and shows early stage results without FMA

Benchmark in Chrome 67+

Benchmark in Safari 14+

online benchmark

2do

  • mvp
  • mandel test
  • fix mul/div
  • optimization

Consider BigDecimal based on BigInt, it's very good

https://github.com/Yaffle/BigDecimal

References

  1. Mioara Joldes, Olivier Marty, Jean-Michel Muller, Valentina Popescu, Arithmetic algorithms for extended precision using floating-point expansions, 2015. [pdf]
  2. J.-M. Muller, Valentina Popescu, Ping Tak Peter Tang A new multiplication algorithm for extended precision using floating-point expansions, 2016. [pdf]
  3. J.-M. Muller, N. Brisebarre, F. deDinechin, C.-P. Jeannerod, V. Lefevre etc., Handbook of Floating-Point Arithmetic, Chapter 14.1.2, 2010.

About

JAvascript Multiple Precision Arithmetic libraRY

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published