nodef/extra-number

View on GitHub
TODO

Summary

Maintainability
Test Coverage
- number.index
https://docs.python.org/3/library/numbers.html
https://docs.google.com/spreadsheets/d/1IFR_KTwm_wGk-XOYJtax200hd-BkB7fy2Jt9vDeJQrI/edit#gid=0
- https://www.npmjs.com/package/float-regex
- https://www.npmjs.com/package/percentage-regex
- https://www.npmjs.com/package/is-hex


npm-complex    number    Module for elementary operations on the complex plane
high-precision-four-fundamental-rules    number    a npm packge of high-precision-four-fundamental-rules, which can make up for the defect of accuracy of native JS.
nmbrs    number    An npm module to prettify numbers
prime-nummers    number    An multi-language NPM package to use prime numbers. Een meer-talige NPM package om primaire nummers te gebruiken.
npm-oddeven    number    Method that allows you to play even or odd
ordinal-spanish    number    Spanish ordinal numbers following a numeral.


RANDOM
http://pracrand.sourceforge.net
http://vigna.di.unimi.it/ftp/papers/ScrambledLinear.pdf
https://synesenom.github.io/ran/#core.seed
https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript/47593316#47593316


### help needed

- fromWords with plural
- fromRoman with decimal
- toWords(opt=ordinal/cardinal)
- toOrdinal
- math.perm(n, k)
- math.dist()
- math.tau
- math: separate statistics?


# Ideas from "iterable"
# function mirroredConstrain(x: number, min: number, max: number): number {
#   return x>=min? Math.min(x, max) : Math.min(x-min+max, min);
# }