@ohos-ports/stdlib-constants 0.0.0-stage → 0.4.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +177 -0
- package/NOTICE +1 -0
- package/README.md +234 -2
- package/SECURITY.md +5 -0
- package/array/README.md +98 -0
- package/array/docs/types/index.d.ts +57 -0
- package/array/docs/types/test.ts +29 -0
- package/array/lib/index.js +62 -0
- package/array/max-array-length/README.md +137 -0
- package/array/max-array-length/docs/repl.txt +12 -0
- package/array/max-array-length/docs/types/index.d.ts +33 -0
- package/array/max-array-length/docs/types/test.ts +28 -0
- package/array/max-array-length/lib/index.js +49 -0
- package/array/max-array-length/package.json +62 -0
- package/array/max-typed-array-length/README.md +141 -0
- package/array/max-typed-array-length/docs/repl.txt +12 -0
- package/array/max-typed-array-length/docs/types/index.d.ts +33 -0
- package/array/max-typed-array-length/docs/types/test.ts +28 -0
- package/array/max-typed-array-length/lib/index.js +49 -0
- package/array/max-typed-array-length/package.json +64 -0
- package/array/package.json +62 -0
- package/complex128/README.md +101 -0
- package/complex128/docs/types/index.d.ts +67 -0
- package/complex128/docs/types/test.ts +29 -0
- package/complex128/lib/index.js +72 -0
- package/complex128/nan/README.md +99 -0
- package/complex128/nan/docs/repl.txt +12 -0
- package/complex128/nan/docs/types/index.d.ts +37 -0
- package/complex128/nan/docs/types/test.ts +28 -0
- package/complex128/nan/lib/index.js +50 -0
- package/complex128/nan/package.json +68 -0
- package/complex128/num-bytes/README.md +148 -0
- package/complex128/num-bytes/docs/repl.txt +12 -0
- package/complex128/num-bytes/docs/types/index.d.ts +33 -0
- package/complex128/num-bytes/docs/types/test.ts +28 -0
- package/complex128/num-bytes/include/stdlib/constants/complex128/num_bytes.h +27 -0
- package/complex128/num-bytes/lib/index.js +47 -0
- package/complex128/num-bytes/manifest.json +36 -0
- package/complex128/num-bytes/package.json +70 -0
- package/complex128/package.json +67 -0
- package/complex128/zero/README.md +99 -0
- package/complex128/zero/docs/repl.txt +12 -0
- package/complex128/zero/docs/types/index.d.ts +37 -0
- package/complex128/zero/docs/types/test.ts +28 -0
- package/complex128/zero/lib/index.js +50 -0
- package/complex128/zero/package.json +68 -0
- package/complex64/README.md +101 -0
- package/complex64/docs/types/index.d.ts +67 -0
- package/complex64/docs/types/test.ts +29 -0
- package/complex64/lib/index.js +72 -0
- package/complex64/nan/README.md +99 -0
- package/complex64/nan/docs/repl.txt +12 -0
- package/complex64/nan/docs/types/index.d.ts +37 -0
- package/complex64/nan/docs/types/test.ts +28 -0
- package/complex64/nan/lib/index.js +50 -0
- package/complex64/nan/package.json +67 -0
- package/complex64/num-bytes/README.md +148 -0
- package/complex64/num-bytes/docs/repl.txt +12 -0
- package/complex64/num-bytes/docs/types/index.d.ts +33 -0
- package/complex64/num-bytes/docs/types/test.ts +28 -0
- package/complex64/num-bytes/include/stdlib/constants/complex64/num_bytes.h +27 -0
- package/complex64/num-bytes/lib/index.js +47 -0
- package/complex64/num-bytes/manifest.json +36 -0
- package/complex64/num-bytes/package.json +72 -0
- package/complex64/package.json +69 -0
- package/complex64/zero/README.md +99 -0
- package/complex64/zero/docs/repl.txt +12 -0
- package/complex64/zero/docs/types/index.d.ts +37 -0
- package/complex64/zero/docs/types/test.ts +28 -0
- package/complex64/zero/lib/index.js +50 -0
- package/complex64/zero/package.json +67 -0
- package/docs/types/index.d.ts +127 -0
- package/float16/README.md +131 -0
- package/float16/abs-mask/README.md +156 -0
- package/float16/abs-mask/docs/repl.txt +14 -0
- package/float16/abs-mask/docs/types/index.d.ts +33 -0
- package/float16/abs-mask/docs/types/test.ts +28 -0
- package/float16/abs-mask/include/stdlib/constants/float16/abs_mask.h +27 -0
- package/float16/abs-mask/lib/index.js +56 -0
- package/float16/abs-mask/manifest.json +36 -0
- package/float16/abs-mask/package.json +68 -0
- package/float16/apery/README.md +95 -0
- package/float16/apery/docs/repl.txt +12 -0
- package/float16/apery/docs/types/index.d.ts +33 -0
- package/float16/apery/docs/types/test.ts +28 -0
- package/float16/apery/lib/index.js +49 -0
- package/float16/apery/package.json +64 -0
- package/float16/catalan/README.md +81 -0
- package/float16/catalan/docs/repl.txt +12 -0
- package/float16/catalan/docs/types/index.d.ts +33 -0
- package/float16/catalan/docs/types/test.ts +28 -0
- package/float16/catalan/lib/index.js +49 -0
- package/float16/catalan/package.json +70 -0
- package/float16/cbrt-eps/README.md +122 -0
- package/float16/cbrt-eps/docs/repl.txt +12 -0
- package/float16/cbrt-eps/docs/types/index.d.ts +33 -0
- package/float16/cbrt-eps/docs/types/test.ts +28 -0
- package/float16/cbrt-eps/lib/index.js +53 -0
- package/float16/cbrt-eps/package.json +73 -0
- package/float16/docs/types/index.d.ts +167 -0
- package/float16/docs/types/test.ts +29 -0
- package/float16/e/README.md +81 -0
- package/float16/e/docs/repl.txt +12 -0
- package/float16/e/docs/types/index.d.ts +33 -0
- package/float16/e/docs/types/test.ts +28 -0
- package/float16/e/lib/index.js +49 -0
- package/float16/e/package.json +64 -0
- package/float16/eps/README.md +137 -0
- package/float16/eps/docs/img/equation_epsilon_float16.svg +28 -0
- package/float16/eps/docs/repl.txt +13 -0
- package/float16/eps/docs/types/index.d.ts +33 -0
- package/float16/eps/docs/types/test.ts +28 -0
- package/float16/eps/lib/index.js +57 -0
- package/float16/eps/package.json +69 -0
- package/float16/eulergamma/README.md +97 -0
- package/float16/eulergamma/docs/repl.txt +12 -0
- package/float16/eulergamma/docs/types/index.d.ts +33 -0
- package/float16/eulergamma/docs/types/test.ts +28 -0
- package/float16/eulergamma/lib/index.js +49 -0
- package/float16/eulergamma/package.json +65 -0
- package/float16/exponent-bias/README.md +150 -0
- package/float16/exponent-bias/docs/repl.txt +12 -0
- package/float16/exponent-bias/docs/types/index.d.ts +33 -0
- package/float16/exponent-bias/docs/types/test.ts +28 -0
- package/float16/exponent-bias/include/stdlib/constants/float16/exponent_bias.h +27 -0
- package/float16/exponent-bias/lib/index.js +58 -0
- package/float16/exponent-bias/manifest.json +36 -0
- package/float16/exponent-bias/package.json +69 -0
- package/float16/exponent-mask/README.md +158 -0
- package/float16/exponent-mask/docs/repl.txt +14 -0
- package/float16/exponent-mask/docs/types/index.d.ts +33 -0
- package/float16/exponent-mask/docs/types/test.ts +28 -0
- package/float16/exponent-mask/include/stdlib/constants/float16/exponent_mask.h +27 -0
- package/float16/exponent-mask/lib/index.js +56 -0
- package/float16/exponent-mask/manifest.json +36 -0
- package/float16/exponent-mask/package.json +68 -0
- package/float16/fourth-pi/README.md +79 -0
- package/float16/fourth-pi/docs/repl.txt +12 -0
- package/float16/fourth-pi/docs/types/index.d.ts +33 -0
- package/float16/fourth-pi/docs/types/test.ts +28 -0
- package/float16/fourth-pi/lib/index.js +48 -0
- package/float16/fourth-pi/package.json +64 -0
- package/float16/half-ln-two/README.md +79 -0
- package/float16/half-ln-two/docs/repl.txt +13 -0
- package/float16/half-ln-two/docs/types/index.d.ts +33 -0
- package/float16/half-ln-two/docs/types/test.ts +28 -0
- package/float16/half-ln-two/lib/index.js +50 -0
- package/float16/half-ln-two/package.json +70 -0
- package/float16/half-pi/README.md +81 -0
- package/float16/half-pi/docs/repl.txt +12 -0
- package/float16/half-pi/docs/types/index.d.ts +33 -0
- package/float16/half-pi/docs/types/test.ts +28 -0
- package/float16/half-pi/lib/index.js +48 -0
- package/float16/half-pi/package.json +64 -0
- package/float16/lib/index.js +172 -0
- package/float16/ln-half/README.md +79 -0
- package/float16/ln-half/docs/repl.txt +12 -0
- package/float16/ln-half/docs/types/index.d.ts +33 -0
- package/float16/ln-half/docs/types/test.ts +28 -0
- package/float16/ln-half/lib/index.js +50 -0
- package/float16/ln-half/package.json +70 -0
- package/float16/ln-pi/README.md +81 -0
- package/float16/ln-pi/docs/repl.txt +13 -0
- package/float16/ln-pi/docs/types/index.d.ts +33 -0
- package/float16/ln-pi/docs/types/test.ts +28 -0
- package/float16/ln-pi/lib/index.js +48 -0
- package/float16/ln-pi/package.json +69 -0
- package/float16/ln-sqrt-two-pi/README.md +79 -0
- package/float16/ln-sqrt-two-pi/docs/repl.txt +12 -0
- package/float16/ln-sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float16/ln-sqrt-two-pi/docs/types/test.ts +28 -0
- package/float16/ln-sqrt-two-pi/lib/index.js +51 -0
- package/float16/ln-sqrt-two-pi/package.json +72 -0
- package/float16/ln-ten/README.md +79 -0
- package/float16/ln-ten/docs/repl.txt +12 -0
- package/float16/ln-ten/docs/types/index.d.ts +33 -0
- package/float16/ln-ten/docs/types/test.ts +28 -0
- package/float16/ln-ten/lib/index.js +51 -0
- package/float16/ln-ten/package.json +69 -0
- package/float16/ln-two/README.md +77 -0
- package/float16/ln-two/docs/repl.txt +12 -0
- package/float16/ln-two/docs/types/index.d.ts +33 -0
- package/float16/ln-two/docs/types/test.ts +28 -0
- package/float16/ln-two/lib/index.js +51 -0
- package/float16/ln-two/package.json +70 -0
- package/float16/ln-two-pi/README.md +81 -0
- package/float16/ln-two-pi/docs/repl.txt +12 -0
- package/float16/ln-two-pi/docs/types/index.d.ts +33 -0
- package/float16/ln-two-pi/docs/types/test.ts +28 -0
- package/float16/ln-two-pi/lib/index.js +55 -0
- package/float16/ln-two-pi/package.json +71 -0
- package/float16/log10-e/README.md +81 -0
- package/float16/log10-e/docs/repl.txt +12 -0
- package/float16/log10-e/docs/types/index.d.ts +33 -0
- package/float16/log10-e/docs/types/test.ts +28 -0
- package/float16/log10-e/lib/index.js +48 -0
- package/float16/log10-e/package.json +69 -0
- package/float16/log2-e/README.md +81 -0
- package/float16/log2-e/docs/repl.txt +12 -0
- package/float16/log2-e/docs/types/index.d.ts +33 -0
- package/float16/log2-e/docs/types/test.ts +28 -0
- package/float16/log2-e/lib/index.js +48 -0
- package/float16/log2-e/package.json +69 -0
- package/float16/max/README.md +96 -0
- package/float16/max/docs/repl.txt +12 -0
- package/float16/max/docs/types/index.d.ts +33 -0
- package/float16/max/docs/types/test.ts +28 -0
- package/float16/max/lib/index.js +56 -0
- package/float16/max/package.json +70 -0
- package/float16/max-base10-exponent/README.md +141 -0
- package/float16/max-base10-exponent/docs/repl.txt +12 -0
- package/float16/max-base10-exponent/docs/types/index.d.ts +33 -0
- package/float16/max-base10-exponent/docs/types/test.ts +28 -0
- package/float16/max-base10-exponent/include/stdlib/constants/float16/max_base10_exponent.h +27 -0
- package/float16/max-base10-exponent/lib/index.js +48 -0
- package/float16/max-base10-exponent/manifest.json +36 -0
- package/float16/max-base10-exponent/package.json +68 -0
- package/float16/max-base10-exponent-subnormal/README.md +141 -0
- package/float16/max-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float16/max-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float16/max-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float16/max-base10-exponent-subnormal/include/stdlib/constants/float16/max_base10_exponent_subnormal.h +27 -0
- package/float16/max-base10-exponent-subnormal/lib/index.js +54 -0
- package/float16/max-base10-exponent-subnormal/manifest.json +36 -0
- package/float16/max-base10-exponent-subnormal/package.json +70 -0
- package/float16/max-base2-exponent/README.md +139 -0
- package/float16/max-base2-exponent/docs/repl.txt +13 -0
- package/float16/max-base2-exponent/docs/types/index.d.ts +33 -0
- package/float16/max-base2-exponent/docs/types/test.ts +28 -0
- package/float16/max-base2-exponent/include/stdlib/constants/float16/max_base2_exponent.h +27 -0
- package/float16/max-base2-exponent/lib/index.js +54 -0
- package/float16/max-base2-exponent/manifest.json +36 -0
- package/float16/max-base2-exponent/package.json +71 -0
- package/float16/max-base2-exponent-subnormal/README.md +139 -0
- package/float16/max-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float16/max-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float16/max-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float16/max-base2-exponent-subnormal/include/stdlib/constants/float16/max_base2_exponent_subnormal.h +27 -0
- package/float16/max-base2-exponent-subnormal/lib/index.js +54 -0
- package/float16/max-base2-exponent-subnormal/manifest.json +36 -0
- package/float16/max-base2-exponent-subnormal/package.json +72 -0
- package/float16/max-ln/README.md +83 -0
- package/float16/max-ln/docs/repl.txt +11 -0
- package/float16/max-ln/docs/types/index.d.ts +33 -0
- package/float16/max-ln/docs/types/test.ts +28 -0
- package/float16/max-ln/lib/index.js +55 -0
- package/float16/max-ln/package.json +73 -0
- package/float16/max-safe-integer/README.md +113 -0
- package/float16/max-safe-integer/docs/repl.txt +15 -0
- package/float16/max-safe-integer/docs/types/index.d.ts +33 -0
- package/float16/max-safe-integer/docs/types/test.ts +28 -0
- package/float16/max-safe-integer/lib/index.js +57 -0
- package/float16/max-safe-integer/package.json +71 -0
- package/float16/min-base10-exponent/README.md +141 -0
- package/float16/min-base10-exponent/docs/repl.txt +13 -0
- package/float16/min-base10-exponent/docs/types/index.d.ts +33 -0
- package/float16/min-base10-exponent/docs/types/test.ts +28 -0
- package/float16/min-base10-exponent/include/stdlib/constants/float16/min_base10_exponent.h +27 -0
- package/float16/min-base10-exponent/lib/index.js +48 -0
- package/float16/min-base10-exponent/manifest.json +36 -0
- package/float16/min-base10-exponent/package.json +69 -0
- package/float16/min-base10-exponent-subnormal/README.md +141 -0
- package/float16/min-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float16/min-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float16/min-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float16/min-base10-exponent-subnormal/include/stdlib/constants/float16/min_base10_exponent_subnormal.h +27 -0
- package/float16/min-base10-exponent-subnormal/lib/index.js +50 -0
- package/float16/min-base10-exponent-subnormal/manifest.json +36 -0
- package/float16/min-base10-exponent-subnormal/package.json +70 -0
- package/float16/min-base2-exponent/README.md +139 -0
- package/float16/min-base2-exponent/docs/repl.txt +13 -0
- package/float16/min-base2-exponent/docs/types/index.d.ts +33 -0
- package/float16/min-base2-exponent/docs/types/test.ts +28 -0
- package/float16/min-base2-exponent/include/stdlib/constants/float16/min_base2_exponent.h +27 -0
- package/float16/min-base2-exponent/lib/index.js +54 -0
- package/float16/min-base2-exponent/manifest.json +36 -0
- package/float16/min-base2-exponent/package.json +72 -0
- package/float16/min-base2-exponent-subnormal/README.md +139 -0
- package/float16/min-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float16/min-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float16/min-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float16/min-base2-exponent-subnormal/include/stdlib/constants/float16/min_base2_exponent_subnormal.h +27 -0
- package/float16/min-base2-exponent-subnormal/lib/index.js +54 -0
- package/float16/min-base2-exponent-subnormal/manifest.json +36 -0
- package/float16/min-base2-exponent-subnormal/package.json +72 -0
- package/float16/min-ln/README.md +83 -0
- package/float16/min-ln/docs/repl.txt +13 -0
- package/float16/min-ln/docs/types/index.d.ts +33 -0
- package/float16/min-ln/docs/types/test.ts +28 -0
- package/float16/min-ln/lib/index.js +55 -0
- package/float16/min-ln/package.json +71 -0
- package/float16/min-safe-integer/README.md +113 -0
- package/float16/min-safe-integer/docs/repl.txt +15 -0
- package/float16/min-safe-integer/docs/types/index.d.ts +33 -0
- package/float16/min-safe-integer/docs/types/test.ts +28 -0
- package/float16/min-safe-integer/lib/index.js +57 -0
- package/float16/min-safe-integer/package.json +71 -0
- package/float16/nan/README.md +81 -0
- package/float16/nan/docs/repl.txt +12 -0
- package/float16/nan/docs/types/index.d.ts +33 -0
- package/float16/nan/docs/types/test.ts +28 -0
- package/float16/nan/lib/index.js +48 -0
- package/float16/nan/package.json +64 -0
- package/float16/ninf/README.md +100 -0
- package/float16/ninf/docs/repl.txt +12 -0
- package/float16/ninf/docs/types/index.d.ts +33 -0
- package/float16/ninf/docs/types/test.ts +28 -0
- package/float16/ninf/lib/index.js +62 -0
- package/float16/ninf/package.json +70 -0
- package/float16/num-bytes/README.md +96 -0
- package/float16/num-bytes/docs/repl.txt +12 -0
- package/float16/num-bytes/docs/types/index.d.ts +33 -0
- package/float16/num-bytes/docs/types/test.ts +28 -0
- package/float16/num-bytes/lib/index.js +47 -0
- package/float16/num-bytes/package.json +70 -0
- package/float16/num-exponent-bits/README.md +143 -0
- package/float16/num-exponent-bits/docs/repl.txt +11 -0
- package/float16/num-exponent-bits/docs/types/index.d.ts +33 -0
- package/float16/num-exponent-bits/docs/types/test.ts +28 -0
- package/float16/num-exponent-bits/include/stdlib/constants/float16/num_exponent_bits.h +27 -0
- package/float16/num-exponent-bits/lib/index.js +47 -0
- package/float16/num-exponent-bits/manifest.json +36 -0
- package/float16/num-exponent-bits/package.json +67 -0
- package/float16/num-significand-bits/README.md +143 -0
- package/float16/num-significand-bits/docs/repl.txt +11 -0
- package/float16/num-significand-bits/docs/types/index.d.ts +33 -0
- package/float16/num-significand-bits/docs/types/test.ts +28 -0
- package/float16/num-significand-bits/include/stdlib/constants/float16/num_significand_bits.h +27 -0
- package/float16/num-significand-bits/lib/index.js +47 -0
- package/float16/num-significand-bits/manifest.json +36 -0
- package/float16/num-significand-bits/package.json +68 -0
- package/float16/package.json +68 -0
- package/float16/phi/README.md +97 -0
- package/float16/phi/docs/repl.txt +12 -0
- package/float16/phi/docs/types/index.d.ts +33 -0
- package/float16/phi/docs/types/test.ts +28 -0
- package/float16/phi/lib/index.js +49 -0
- package/float16/phi/package.json +64 -0
- package/float16/pi/README.md +81 -0
- package/float16/pi/docs/repl.txt +12 -0
- package/float16/pi/docs/types/index.d.ts +33 -0
- package/float16/pi/docs/types/test.ts +28 -0
- package/float16/pi/lib/index.js +48 -0
- package/float16/pi/package.json +63 -0
- package/float16/pi-squared/README.md +79 -0
- package/float16/pi-squared/docs/repl.txt +12 -0
- package/float16/pi-squared/docs/types/index.d.ts +33 -0
- package/float16/pi-squared/docs/types/test.ts +28 -0
- package/float16/pi-squared/lib/index.js +52 -0
- package/float16/pi-squared/package.json +64 -0
- package/float16/pinf/README.md +100 -0
- package/float16/pinf/docs/repl.txt +12 -0
- package/float16/pinf/docs/types/index.d.ts +33 -0
- package/float16/pinf/docs/types/test.ts +28 -0
- package/float16/pinf/lib/index.js +62 -0
- package/float16/pinf/package.json +70 -0
- package/float16/precision/README.md +98 -0
- package/float16/precision/docs/repl.txt +15 -0
- package/float16/precision/docs/types/index.d.ts +33 -0
- package/float16/precision/docs/types/test.ts +28 -0
- package/float16/precision/lib/index.js +47 -0
- package/float16/precision/package.json +65 -0
- package/float16/sign-mask/README.md +160 -0
- package/float16/sign-mask/docs/repl.txt +14 -0
- package/float16/sign-mask/docs/types/index.d.ts +33 -0
- package/float16/sign-mask/docs/types/test.ts +28 -0
- package/float16/sign-mask/include/stdlib/constants/float16/sign_mask.h +27 -0
- package/float16/sign-mask/lib/index.js +56 -0
- package/float16/sign-mask/manifest.json +36 -0
- package/float16/sign-mask/package.json +68 -0
- package/float16/significand-mask/README.md +158 -0
- package/float16/significand-mask/docs/repl.txt +14 -0
- package/float16/significand-mask/docs/types/index.d.ts +33 -0
- package/float16/significand-mask/docs/types/test.ts +28 -0
- package/float16/significand-mask/include/stdlib/constants/float16/significand_mask.h +27 -0
- package/float16/significand-mask/lib/index.js +56 -0
- package/float16/significand-mask/manifest.json +36 -0
- package/float16/significand-mask/package.json +68 -0
- package/float16/smallest-normal/README.md +99 -0
- package/float16/smallest-normal/docs/repl.txt +12 -0
- package/float16/smallest-normal/docs/types/index.d.ts +33 -0
- package/float16/smallest-normal/docs/types/test.ts +28 -0
- package/float16/smallest-normal/lib/index.js +62 -0
- package/float16/smallest-normal/package.json +72 -0
- package/float16/smallest-subnormal/README.md +105 -0
- package/float16/smallest-subnormal/docs/repl.txt +12 -0
- package/float16/smallest-subnormal/docs/types/index.d.ts +33 -0
- package/float16/smallest-subnormal/docs/types/test.ts +28 -0
- package/float16/smallest-subnormal/lib/index.js +62 -0
- package/float16/smallest-subnormal/package.json +72 -0
- package/float16/sqrt-eps/README.md +119 -0
- package/float16/sqrt-eps/docs/repl.txt +12 -0
- package/float16/sqrt-eps/docs/types/index.d.ts +33 -0
- package/float16/sqrt-eps/docs/types/test.ts +28 -0
- package/float16/sqrt-eps/lib/index.js +53 -0
- package/float16/sqrt-eps/package.json +73 -0
- package/float16/sqrt-half/README.md +77 -0
- package/float16/sqrt-half/docs/repl.txt +12 -0
- package/float16/sqrt-half/docs/types/index.d.ts +33 -0
- package/float16/sqrt-half/docs/types/test.ts +28 -0
- package/float16/sqrt-half/lib/index.js +52 -0
- package/float16/sqrt-half/package.json +71 -0
- package/float16/sqrt-three/README.md +81 -0
- package/float16/sqrt-three/docs/repl.txt +12 -0
- package/float16/sqrt-three/docs/types/index.d.ts +33 -0
- package/float16/sqrt-three/docs/types/test.ts +28 -0
- package/float16/sqrt-three/lib/index.js +51 -0
- package/float16/sqrt-three/package.json +71 -0
- package/float16/sqrt-two/README.md +81 -0
- package/float16/sqrt-two/docs/repl.txt +12 -0
- package/float16/sqrt-two/docs/types/index.d.ts +33 -0
- package/float16/sqrt-two/docs/types/test.ts +28 -0
- package/float16/sqrt-two/lib/index.js +51 -0
- package/float16/sqrt-two/package.json +68 -0
- package/float16/sqrt-two-pi/README.md +81 -0
- package/float16/sqrt-two-pi/docs/repl.txt +13 -0
- package/float16/sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float16/sqrt-two-pi/docs/types/test.ts +28 -0
- package/float16/sqrt-two-pi/lib/index.js +47 -0
- package/float16/sqrt-two-pi/package.json +68 -0
- package/float16/two-pi/README.md +81 -0
- package/float16/two-pi/docs/repl.txt +12 -0
- package/float16/two-pi/docs/types/index.d.ts +33 -0
- package/float16/two-pi/docs/types/test.ts +28 -0
- package/float16/two-pi/lib/index.js +48 -0
- package/float16/two-pi/package.json +65 -0
- package/float32/README.md +290 -0
- package/float32/abs-mask/README.md +169 -0
- package/float32/abs-mask/docs/repl.txt +14 -0
- package/float32/abs-mask/docs/types/index.d.ts +33 -0
- package/float32/abs-mask/docs/types/test.ts +28 -0
- package/float32/abs-mask/include/stdlib/constants/float32/abs_mask.h +27 -0
- package/float32/abs-mask/lib/index.js +56 -0
- package/float32/abs-mask/manifest.json +36 -0
- package/float32/abs-mask/package.json +68 -0
- package/float32/apery/README.md +156 -0
- package/float32/apery/docs/img/equation_apery_constant.svg +98 -0
- package/float32/apery/docs/repl.txt +12 -0
- package/float32/apery/docs/types/index.d.ts +33 -0
- package/float32/apery/docs/types/test.ts +28 -0
- package/float32/apery/include/stdlib/constants/float32/apery.h +27 -0
- package/float32/apery/lib/index.js +53 -0
- package/float32/apery/manifest.json +36 -0
- package/float32/apery/package.json +68 -0
- package/float32/catalan/README.md +152 -0
- package/float32/catalan/docs/img/equation_catalan_constant.svg +105 -0
- package/float32/catalan/docs/repl.txt +12 -0
- package/float32/catalan/docs/types/index.d.ts +33 -0
- package/float32/catalan/docs/types/test.ts +28 -0
- package/float32/catalan/include/stdlib/constants/float32/catalan.h +27 -0
- package/float32/catalan/lib/index.js +53 -0
- package/float32/catalan/manifest.json +36 -0
- package/float32/catalan/package.json +71 -0
- package/float32/cbrt-eps/README.md +174 -0
- package/float32/cbrt-eps/docs/repl.txt +12 -0
- package/float32/cbrt-eps/docs/types/index.d.ts +33 -0
- package/float32/cbrt-eps/docs/types/test.ts +28 -0
- package/float32/cbrt-eps/include/stdlib/constants/float32/cbrt_eps.h +27 -0
- package/float32/cbrt-eps/lib/index.js +57 -0
- package/float32/cbrt-eps/manifest.json +36 -0
- package/float32/cbrt-eps/package.json +74 -0
- package/float32/docs/types/index.d.ts +697 -0
- package/float32/docs/types/test.ts +29 -0
- package/float32/e/README.md +147 -0
- package/float32/e/docs/repl.txt +12 -0
- package/float32/e/docs/types/index.d.ts +33 -0
- package/float32/e/docs/types/test.ts +28 -0
- package/float32/e/include/stdlib/constants/float32/e.h +27 -0
- package/float32/e/lib/index.js +53 -0
- package/float32/e/manifest.json +36 -0
- package/float32/e/package.json +67 -0
- package/float32/eps/README.md +189 -0
- package/float32/eps/docs/img/equation_epsilon_float32.svg +28 -0
- package/float32/eps/docs/repl.txt +13 -0
- package/float32/eps/docs/types/index.d.ts +33 -0
- package/float32/eps/docs/types/test.ts +28 -0
- package/float32/eps/include/stdlib/constants/float32/eps.h +27 -0
- package/float32/eps/lib/index.js +61 -0
- package/float32/eps/manifest.json +36 -0
- package/float32/eps/package.json +68 -0
- package/float32/eulergamma/README.md +152 -0
- package/float32/eulergamma/docs/img/equation_eulergamma_constant.svg +64 -0
- package/float32/eulergamma/docs/repl.txt +12 -0
- package/float32/eulergamma/docs/types/index.d.ts +33 -0
- package/float32/eulergamma/docs/types/test.ts +28 -0
- package/float32/eulergamma/include/stdlib/constants/float32/eulergamma.h +27 -0
- package/float32/eulergamma/lib/index.js +53 -0
- package/float32/eulergamma/manifest.json +36 -0
- package/float32/eulergamma/package.json +71 -0
- package/float32/exponent-bias/README.md +150 -0
- package/float32/exponent-bias/docs/repl.txt +12 -0
- package/float32/exponent-bias/docs/types/index.d.ts +33 -0
- package/float32/exponent-bias/docs/types/test.ts +28 -0
- package/float32/exponent-bias/include/stdlib/constants/float32/exponent_bias.h +27 -0
- package/float32/exponent-bias/lib/index.js +58 -0
- package/float32/exponent-bias/manifest.json +36 -0
- package/float32/exponent-bias/package.json +65 -0
- package/float32/exponent-mask/README.md +172 -0
- package/float32/exponent-mask/docs/repl.txt +14 -0
- package/float32/exponent-mask/docs/types/index.d.ts +33 -0
- package/float32/exponent-mask/docs/types/test.ts +28 -0
- package/float32/exponent-mask/include/stdlib/constants/float32/exponent_mask.h +27 -0
- package/float32/exponent-mask/lib/index.js +56 -0
- package/float32/exponent-mask/manifest.json +36 -0
- package/float32/exponent-mask/package.json +68 -0
- package/float32/fourth-pi/README.md +153 -0
- package/float32/fourth-pi/docs/repl.txt +12 -0
- package/float32/fourth-pi/docs/types/index.d.ts +33 -0
- package/float32/fourth-pi/docs/types/test.ts +28 -0
- package/float32/fourth-pi/include/stdlib/constants/float32/fourth_pi.h +27 -0
- package/float32/fourth-pi/lib/index.js +52 -0
- package/float32/fourth-pi/manifest.json +36 -0
- package/float32/fourth-pi/package.json +65 -0
- package/float32/fourth-root-eps/README.md +135 -0
- package/float32/fourth-root-eps/docs/repl.txt +11 -0
- package/float32/fourth-root-eps/docs/types/index.d.ts +33 -0
- package/float32/fourth-root-eps/docs/types/test.ts +28 -0
- package/float32/fourth-root-eps/include/stdlib/constants/float32/fourth_root_eps.h +27 -0
- package/float32/fourth-root-eps/lib/index.js +53 -0
- package/float32/fourth-root-eps/manifest.json +36 -0
- package/float32/fourth-root-eps/package.json +72 -0
- package/float32/gamma-lanczos-g/README.md +139 -0
- package/float32/gamma-lanczos-g/docs/repl.txt +12 -0
- package/float32/gamma-lanczos-g/docs/types/index.d.ts +33 -0
- package/float32/gamma-lanczos-g/docs/types/test.ts +28 -0
- package/float32/gamma-lanczos-g/include/stdlib/constants/float32/gamma_lanczos_g.h +27 -0
- package/float32/gamma-lanczos-g/lib/index.js +52 -0
- package/float32/gamma-lanczos-g/manifest.json +36 -0
- package/float32/gamma-lanczos-g/package.json +71 -0
- package/float32/glaisher-kinkelin/README.md +167 -0
- package/float32/glaisher-kinkelin/docs/img/equation_glaisher_kinkelin_constant.svg +84 -0
- package/float32/glaisher-kinkelin/docs/img/equation_k_function.svg +38 -0
- package/float32/glaisher-kinkelin/docs/repl.txt +12 -0
- package/float32/glaisher-kinkelin/docs/types/index.d.ts +33 -0
- package/float32/glaisher-kinkelin/docs/types/test.ts +28 -0
- package/float32/glaisher-kinkelin/include/stdlib/constants/float32/glaisher_kinkelin.h +27 -0
- package/float32/glaisher-kinkelin/lib/index.js +53 -0
- package/float32/glaisher-kinkelin/manifest.json +36 -0
- package/float32/glaisher-kinkelin/package.json +73 -0
- package/float32/half-ln-two/README.md +147 -0
- package/float32/half-ln-two/docs/repl.txt +13 -0
- package/float32/half-ln-two/docs/types/index.d.ts +33 -0
- package/float32/half-ln-two/docs/types/test.ts +28 -0
- package/float32/half-ln-two/include/stdlib/constants/float32/half_ln_two.h +27 -0
- package/float32/half-ln-two/lib/index.js +50 -0
- package/float32/half-ln-two/manifest.json +36 -0
- package/float32/half-ln-two/package.json +71 -0
- package/float32/half-pi/README.md +153 -0
- package/float32/half-pi/docs/repl.txt +12 -0
- package/float32/half-pi/docs/types/index.d.ts +33 -0
- package/float32/half-pi/docs/types/test.ts +28 -0
- package/float32/half-pi/include/stdlib/constants/float32/half_pi.h +27 -0
- package/float32/half-pi/lib/index.js +52 -0
- package/float32/half-pi/manifest.json +36 -0
- package/float32/half-pi/package.json +65 -0
- package/float32/lib/index.js +702 -0
- package/float32/ln-half/README.md +147 -0
- package/float32/ln-half/docs/repl.txt +12 -0
- package/float32/ln-half/docs/types/index.d.ts +33 -0
- package/float32/ln-half/docs/types/test.ts +28 -0
- package/float32/ln-half/include/stdlib/constants/float32/ln_half.h +27 -0
- package/float32/ln-half/lib/index.js +55 -0
- package/float32/ln-half/manifest.json +36 -0
- package/float32/ln-half/package.json +71 -0
- package/float32/ln-pi/README.md +150 -0
- package/float32/ln-pi/docs/repl.txt +13 -0
- package/float32/ln-pi/docs/types/index.d.ts +33 -0
- package/float32/ln-pi/docs/types/test.ts +28 -0
- package/float32/ln-pi/include/stdlib/constants/float32/ln_pi.h +27 -0
- package/float32/ln-pi/lib/index.js +48 -0
- package/float32/ln-pi/manifest.json +36 -0
- package/float32/ln-pi/package.json +70 -0
- package/float32/ln-sqrt-two-pi/README.md +139 -0
- package/float32/ln-sqrt-two-pi/docs/repl.txt +12 -0
- package/float32/ln-sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float32/ln-sqrt-two-pi/docs/types/test.ts +28 -0
- package/float32/ln-sqrt-two-pi/include/stdlib/constants/float32/ln_sqrt_two_pi.h +27 -0
- package/float32/ln-sqrt-two-pi/lib/index.js +55 -0
- package/float32/ln-sqrt-two-pi/manifest.json +36 -0
- package/float32/ln-sqrt-two-pi/package.json +73 -0
- package/float32/ln-ten/README.md +150 -0
- package/float32/ln-ten/docs/repl.txt +12 -0
- package/float32/ln-ten/docs/types/index.d.ts +33 -0
- package/float32/ln-ten/docs/types/test.ts +28 -0
- package/float32/ln-ten/include/stdlib/constants/float32/ln_ten.h +27 -0
- package/float32/ln-ten/lib/index.js +55 -0
- package/float32/ln-ten/manifest.json +36 -0
- package/float32/ln-ten/package.json +70 -0
- package/float32/ln-two/README.md +148 -0
- package/float32/ln-two/docs/repl.txt +12 -0
- package/float32/ln-two/docs/types/index.d.ts +33 -0
- package/float32/ln-two/docs/types/test.ts +28 -0
- package/float32/ln-two/include/stdlib/constants/float32/ln_two.h +27 -0
- package/float32/ln-two/lib/index.js +51 -0
- package/float32/ln-two/manifest.json +36 -0
- package/float32/ln-two/package.json +70 -0
- package/float32/ln-two-pi/README.md +135 -0
- package/float32/ln-two-pi/docs/repl.txt +12 -0
- package/float32/ln-two-pi/docs/types/index.d.ts +33 -0
- package/float32/ln-two-pi/docs/types/test.ts +28 -0
- package/float32/ln-two-pi/include/stdlib/constants/float32/ln_two_pi.h +27 -0
- package/float32/ln-two-pi/lib/index.js +55 -0
- package/float32/ln-two-pi/manifest.json +36 -0
- package/float32/ln-two-pi/package.json +72 -0
- package/float32/log10-e/README.md +135 -0
- package/float32/log10-e/docs/repl.txt +12 -0
- package/float32/log10-e/docs/types/index.d.ts +33 -0
- package/float32/log10-e/docs/types/test.ts +28 -0
- package/float32/log10-e/include/stdlib/constants/float32/log10_e.h +27 -0
- package/float32/log10-e/lib/index.js +53 -0
- package/float32/log10-e/manifest.json +36 -0
- package/float32/log10-e/package.json +70 -0
- package/float32/log2-e/README.md +135 -0
- package/float32/log2-e/docs/repl.txt +12 -0
- package/float32/log2-e/docs/types/index.d.ts +33 -0
- package/float32/log2-e/docs/types/test.ts +28 -0
- package/float32/log2-e/include/stdlib/constants/float32/log2_e.h +27 -0
- package/float32/log2-e/lib/index.js +53 -0
- package/float32/log2-e/manifest.json +36 -0
- package/float32/log2-e/package.json +70 -0
- package/float32/max/README.md +150 -0
- package/float32/max/docs/repl.txt +12 -0
- package/float32/max/docs/types/index.d.ts +33 -0
- package/float32/max/docs/types/test.ts +28 -0
- package/float32/max/include/stdlib/constants/float32/max.h +27 -0
- package/float32/max/lib/index.js +56 -0
- package/float32/max/manifest.json +36 -0
- package/float32/max/package.json +70 -0
- package/float32/max-base10-exponent/README.md +156 -0
- package/float32/max-base10-exponent/docs/repl.txt +12 -0
- package/float32/max-base10-exponent/docs/types/index.d.ts +33 -0
- package/float32/max-base10-exponent/docs/types/test.ts +28 -0
- package/float32/max-base10-exponent/include/stdlib/constants/float32/max_base10_exponent.h +27 -0
- package/float32/max-base10-exponent/lib/index.js +48 -0
- package/float32/max-base10-exponent/manifest.json +36 -0
- package/float32/max-base10-exponent/package.json +67 -0
- package/float32/max-base10-exponent-subnormal/README.md +156 -0
- package/float32/max-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float32/max-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float32/max-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float32/max-base10-exponent-subnormal/include/stdlib/constants/float32/max_base10_exponent_subnormal.h +27 -0
- package/float32/max-base10-exponent-subnormal/lib/index.js +54 -0
- package/float32/max-base10-exponent-subnormal/manifest.json +36 -0
- package/float32/max-base10-exponent-subnormal/package.json +69 -0
- package/float32/max-base2-exponent/README.md +154 -0
- package/float32/max-base2-exponent/docs/repl.txt +13 -0
- package/float32/max-base2-exponent/docs/types/index.d.ts +33 -0
- package/float32/max-base2-exponent/docs/types/test.ts +28 -0
- package/float32/max-base2-exponent/include/stdlib/constants/float32/max_base2_exponent.h +27 -0
- package/float32/max-base2-exponent/lib/index.js +54 -0
- package/float32/max-base2-exponent/manifest.json +36 -0
- package/float32/max-base2-exponent/package.json +70 -0
- package/float32/max-base2-exponent-subnormal/README.md +154 -0
- package/float32/max-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float32/max-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float32/max-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float32/max-base2-exponent-subnormal/include/stdlib/constants/float32/max_base2_exponent_subnormal.h +27 -0
- package/float32/max-base2-exponent-subnormal/lib/index.js +54 -0
- package/float32/max-base2-exponent-subnormal/manifest.json +36 -0
- package/float32/max-base2-exponent-subnormal/package.json +71 -0
- package/float32/max-ln/README.md +137 -0
- package/float32/max-ln/docs/repl.txt +11 -0
- package/float32/max-ln/docs/types/index.d.ts +33 -0
- package/float32/max-ln/docs/types/test.ts +28 -0
- package/float32/max-ln/include/stdlib/constants/float32/max_ln.h +27 -0
- package/float32/max-ln/lib/index.js +55 -0
- package/float32/max-ln/manifest.json +36 -0
- package/float32/max-ln/package.json +74 -0
- package/float32/max-nth-double-factorial/README.md +164 -0
- package/float32/max-nth-double-factorial/docs/repl.txt +13 -0
- package/float32/max-nth-double-factorial/docs/types/index.d.ts +33 -0
- package/float32/max-nth-double-factorial/docs/types/test.ts +28 -0
- package/float32/max-nth-double-factorial/include/stdlib/constants/float32/max_nth_double_factorial.h +27 -0
- package/float32/max-nth-double-factorial/lib/index.js +51 -0
- package/float32/max-nth-double-factorial/manifest.json +36 -0
- package/float32/max-nth-double-factorial/package.json +70 -0
- package/float32/max-nth-factorial/README.md +158 -0
- package/float32/max-nth-factorial/docs/repl.txt +13 -0
- package/float32/max-nth-factorial/docs/types/index.d.ts +33 -0
- package/float32/max-nth-factorial/docs/types/test.ts +28 -0
- package/float32/max-nth-factorial/include/stdlib/constants/float32/max_nth_factorial.h +27 -0
- package/float32/max-nth-factorial/lib/index.js +49 -0
- package/float32/max-nth-factorial/manifest.json +36 -0
- package/float32/max-nth-factorial/package.json +69 -0
- package/float32/max-safe-fibonacci/README.md +180 -0
- package/float32/max-safe-fibonacci/docs/repl.txt +13 -0
- package/float32/max-safe-fibonacci/docs/types/index.d.ts +33 -0
- package/float32/max-safe-fibonacci/docs/types/test.ts +28 -0
- package/float32/max-safe-fibonacci/include/stdlib/constants/float32/max_safe_fibonacci.h +27 -0
- package/float32/max-safe-fibonacci/lib/index.js +49 -0
- package/float32/max-safe-fibonacci/manifest.json +36 -0
- package/float32/max-safe-fibonacci/package.json +72 -0
- package/float32/max-safe-integer/README.md +167 -0
- package/float32/max-safe-integer/docs/repl.txt +15 -0
- package/float32/max-safe-integer/docs/types/index.d.ts +33 -0
- package/float32/max-safe-integer/docs/types/test.ts +28 -0
- package/float32/max-safe-integer/include/stdlib/constants/float32/max_safe_integer.h +27 -0
- package/float32/max-safe-integer/lib/index.js +57 -0
- package/float32/max-safe-integer/manifest.json +36 -0
- package/float32/max-safe-integer/package.json +68 -0
- package/float32/max-safe-lucas/README.md +168 -0
- package/float32/max-safe-lucas/docs/repl.txt +12 -0
- package/float32/max-safe-lucas/docs/types/index.d.ts +33 -0
- package/float32/max-safe-lucas/docs/types/test.ts +28 -0
- package/float32/max-safe-lucas/include/stdlib/constants/float32/max_safe_lucas.h +27 -0
- package/float32/max-safe-lucas/lib/index.js +49 -0
- package/float32/max-safe-lucas/manifest.json +36 -0
- package/float32/max-safe-lucas/package.json +71 -0
- package/float32/max-safe-nth-double-factorial/README.md +166 -0
- package/float32/max-safe-nth-double-factorial/docs/repl.txt +13 -0
- package/float32/max-safe-nth-double-factorial/docs/types/index.d.ts +33 -0
- package/float32/max-safe-nth-double-factorial/docs/types/test.ts +28 -0
- package/float32/max-safe-nth-double-factorial/include/stdlib/constants/float32/max_safe_nth_double_factorial.h +27 -0
- package/float32/max-safe-nth-double-factorial/lib/index.js +51 -0
- package/float32/max-safe-nth-double-factorial/manifest.json +36 -0
- package/float32/max-safe-nth-double-factorial/package.json +71 -0
- package/float32/max-safe-nth-factorial/README.md +166 -0
- package/float32/max-safe-nth-factorial/docs/repl.txt +13 -0
- package/float32/max-safe-nth-factorial/docs/types/index.d.ts +33 -0
- package/float32/max-safe-nth-factorial/docs/types/test.ts +28 -0
- package/float32/max-safe-nth-factorial/include/stdlib/constants/float32/max_safe_nth_factorial.h +27 -0
- package/float32/max-safe-nth-factorial/lib/index.js +51 -0
- package/float32/max-safe-nth-factorial/manifest.json +36 -0
- package/float32/max-safe-nth-factorial/package.json +71 -0
- package/float32/max-safe-nth-fibonacci/README.md +179 -0
- package/float32/max-safe-nth-fibonacci/docs/repl.txt +13 -0
- package/float32/max-safe-nth-fibonacci/docs/types/index.d.ts +33 -0
- package/float32/max-safe-nth-fibonacci/docs/types/test.ts +28 -0
- package/float32/max-safe-nth-fibonacci/include/stdlib/constants/float32/max_safe_nth_fibonacci.h +27 -0
- package/float32/max-safe-nth-fibonacci/lib/index.js +49 -0
- package/float32/max-safe-nth-fibonacci/manifest.json +36 -0
- package/float32/max-safe-nth-fibonacci/package.json +72 -0
- package/float32/max-safe-nth-lucas/README.md +182 -0
- package/float32/max-safe-nth-lucas/docs/repl.txt +13 -0
- package/float32/max-safe-nth-lucas/docs/types/index.d.ts +33 -0
- package/float32/max-safe-nth-lucas/docs/types/test.ts +28 -0
- package/float32/max-safe-nth-lucas/include/stdlib/constants/float32/max_safe_nth_lucas.h +27 -0
- package/float32/max-safe-nth-lucas/lib/index.js +51 -0
- package/float32/max-safe-nth-lucas/manifest.json +36 -0
- package/float32/max-safe-nth-lucas/package.json +72 -0
- package/float32/max-safe-nth-tribonacci/README.md +183 -0
- package/float32/max-safe-nth-tribonacci/docs/repl.txt +13 -0
- package/float32/max-safe-nth-tribonacci/docs/types/index.d.ts +33 -0
- package/float32/max-safe-nth-tribonacci/docs/types/test.ts +28 -0
- package/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h +27 -0
- package/float32/max-safe-nth-tribonacci/lib/index.js +49 -0
- package/float32/max-safe-nth-tribonacci/manifest.json +36 -0
- package/float32/max-safe-nth-tribonacci/package.json +71 -0
- package/float32/min-base10-exponent/README.md +156 -0
- package/float32/min-base10-exponent/docs/repl.txt +13 -0
- package/float32/min-base10-exponent/docs/types/index.d.ts +33 -0
- package/float32/min-base10-exponent/docs/types/test.ts +28 -0
- package/float32/min-base10-exponent/include/stdlib/constants/float32/min_base10_exponent.h +27 -0
- package/float32/min-base10-exponent/lib/index.js +48 -0
- package/float32/min-base10-exponent/manifest.json +36 -0
- package/float32/min-base10-exponent/package.json +68 -0
- package/float32/min-base10-exponent-subnormal/README.md +156 -0
- package/float32/min-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float32/min-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float32/min-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float32/min-base10-exponent-subnormal/include/stdlib/constants/float32/min_base10_exponent_subnormal.h +27 -0
- package/float32/min-base10-exponent-subnormal/lib/index.js +50 -0
- package/float32/min-base10-exponent-subnormal/manifest.json +36 -0
- package/float32/min-base10-exponent-subnormal/package.json +69 -0
- package/float32/min-base2-exponent/README.md +154 -0
- package/float32/min-base2-exponent/docs/repl.txt +13 -0
- package/float32/min-base2-exponent/docs/types/index.d.ts +33 -0
- package/float32/min-base2-exponent/docs/types/test.ts +28 -0
- package/float32/min-base2-exponent/include/stdlib/constants/float32/min_base2_exponent.h +27 -0
- package/float32/min-base2-exponent/lib/index.js +54 -0
- package/float32/min-base2-exponent/manifest.json +36 -0
- package/float32/min-base2-exponent/package.json +71 -0
- package/float32/min-base2-exponent-subnormal/README.md +154 -0
- package/float32/min-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float32/min-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float32/min-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float32/min-base2-exponent-subnormal/include/stdlib/constants/float32/min_base2_exponent_subnormal.h +27 -0
- package/float32/min-base2-exponent-subnormal/lib/index.js +54 -0
- package/float32/min-base2-exponent-subnormal/manifest.json +36 -0
- package/float32/min-base2-exponent-subnormal/package.json +71 -0
- package/float32/min-ln/README.md +137 -0
- package/float32/min-ln/docs/repl.txt +12 -0
- package/float32/min-ln/docs/types/index.d.ts +33 -0
- package/float32/min-ln/docs/types/test.ts +28 -0
- package/float32/min-ln/include/stdlib/constants/float32/min_ln.h +27 -0
- package/float32/min-ln/lib/index.js +55 -0
- package/float32/min-ln/manifest.json +36 -0
- package/float32/min-ln/package.json +72 -0
- package/float32/min-safe-integer/README.md +167 -0
- package/float32/min-safe-integer/docs/repl.txt +15 -0
- package/float32/min-safe-integer/docs/types/index.d.ts +33 -0
- package/float32/min-safe-integer/docs/types/test.ts +28 -0
- package/float32/min-safe-integer/include/stdlib/constants/float32/min_safe_integer.h +27 -0
- package/float32/min-safe-integer/lib/index.js +57 -0
- package/float32/min-safe-integer/manifest.json +36 -0
- package/float32/min-safe-integer/package.json +68 -0
- package/float32/nan/README.md +147 -0
- package/float32/nan/docs/repl.txt +12 -0
- package/float32/nan/docs/types/index.d.ts +33 -0
- package/float32/nan/docs/types/test.ts +28 -0
- package/float32/nan/include/stdlib/constants/float32/nan.h +27 -0
- package/float32/nan/lib/index.js +48 -0
- package/float32/nan/manifest.json +36 -0
- package/float32/nan/package.json +65 -0
- package/float32/ninf/README.md +151 -0
- package/float32/ninf/docs/repl.txt +12 -0
- package/float32/ninf/docs/types/index.d.ts +33 -0
- package/float32/ninf/docs/types/test.ts +28 -0
- package/float32/ninf/include/stdlib/constants/float32/ninf.h +29 -0
- package/float32/ninf/lib/index.js +75 -0
- package/float32/ninf/manifest.json +36 -0
- package/float32/ninf/package.json +69 -0
- package/float32/num-bytes/README.md +150 -0
- package/float32/num-bytes/docs/repl.txt +12 -0
- package/float32/num-bytes/docs/types/index.d.ts +33 -0
- package/float32/num-bytes/docs/types/test.ts +28 -0
- package/float32/num-bytes/include/stdlib/constants/float32/num_bytes.h +27 -0
- package/float32/num-bytes/lib/index.js +47 -0
- package/float32/num-bytes/manifest.json +36 -0
- package/float32/num-bytes/package.json +70 -0
- package/float32/num-exponent-bits/README.md +139 -0
- package/float32/num-exponent-bits/docs/repl.txt +11 -0
- package/float32/num-exponent-bits/docs/types/index.d.ts +33 -0
- package/float32/num-exponent-bits/docs/types/test.ts +28 -0
- package/float32/num-exponent-bits/include/stdlib/constants/float32/num_exponent_bits.h +27 -0
- package/float32/num-exponent-bits/lib/index.js +47 -0
- package/float32/num-exponent-bits/manifest.json +36 -0
- package/float32/num-exponent-bits/package.json +67 -0
- package/float32/num-significand-bits/README.md +143 -0
- package/float32/num-significand-bits/docs/repl.txt +12 -0
- package/float32/num-significand-bits/docs/types/index.d.ts +33 -0
- package/float32/num-significand-bits/docs/types/test.ts +28 -0
- package/float32/num-significand-bits/include/stdlib/constants/float32/num_significand_bits.h +27 -0
- package/float32/num-significand-bits/lib/index.js +47 -0
- package/float32/num-significand-bits/manifest.json +36 -0
- package/float32/num-significand-bits/package.json +68 -0
- package/float32/package.json +68 -0
- package/float32/phi/README.md +166 -0
- package/float32/phi/docs/repl.txt +12 -0
- package/float32/phi/docs/types/index.d.ts +33 -0
- package/float32/phi/docs/types/test.ts +28 -0
- package/float32/phi/include/stdlib/constants/float32/phi.h +27 -0
- package/float32/phi/lib/index.js +53 -0
- package/float32/phi/manifest.json +36 -0
- package/float32/phi/package.json +76 -0
- package/float32/pi/README.md +153 -0
- package/float32/pi/docs/repl.txt +12 -0
- package/float32/pi/docs/types/index.d.ts +33 -0
- package/float32/pi/docs/types/test.ts +28 -0
- package/float32/pi/include/stdlib/constants/float32/pi.h +27 -0
- package/float32/pi/lib/index.js +52 -0
- package/float32/pi/manifest.json +36 -0
- package/float32/pi/package.json +64 -0
- package/float32/pi-squared/README.md +135 -0
- package/float32/pi-squared/docs/repl.txt +12 -0
- package/float32/pi-squared/docs/types/index.d.ts +33 -0
- package/float32/pi-squared/docs/types/test.ts +28 -0
- package/float32/pi-squared/include/stdlib/constants/float32/pi_squared.h +27 -0
- package/float32/pi-squared/lib/index.js +52 -0
- package/float32/pi-squared/manifest.json +36 -0
- package/float32/pi-squared/package.json +65 -0
- package/float32/pinf/README.md +149 -0
- package/float32/pinf/docs/repl.txt +12 -0
- package/float32/pinf/docs/types/index.d.ts +33 -0
- package/float32/pinf/docs/types/test.ts +28 -0
- package/float32/pinf/include/stdlib/constants/float32/pinf.h +29 -0
- package/float32/pinf/lib/index.js +75 -0
- package/float32/pinf/manifest.json +36 -0
- package/float32/pinf/package.json +69 -0
- package/float32/precision/README.md +152 -0
- package/float32/precision/docs/repl.txt +15 -0
- package/float32/precision/docs/types/index.d.ts +33 -0
- package/float32/precision/docs/types/test.ts +28 -0
- package/float32/precision/include/stdlib/constants/float32/precision.h +27 -0
- package/float32/precision/lib/index.js +48 -0
- package/float32/precision/manifest.json +36 -0
- package/float32/precision/package.json +65 -0
- package/float32/sign-mask/README.md +183 -0
- package/float32/sign-mask/docs/repl.txt +14 -0
- package/float32/sign-mask/docs/types/index.d.ts +33 -0
- package/float32/sign-mask/docs/types/test.ts +28 -0
- package/float32/sign-mask/include/stdlib/constants/float32/sign_mask.h +27 -0
- package/float32/sign-mask/lib/index.js +56 -0
- package/float32/sign-mask/manifest.json +36 -0
- package/float32/sign-mask/package.json +68 -0
- package/float32/significand-mask/README.md +172 -0
- package/float32/significand-mask/docs/repl.txt +14 -0
- package/float32/significand-mask/docs/types/index.d.ts +33 -0
- package/float32/significand-mask/docs/types/test.ts +28 -0
- package/float32/significand-mask/include/stdlib/constants/float32/significand_mask.h +27 -0
- package/float32/significand-mask/lib/index.js +56 -0
- package/float32/significand-mask/manifest.json +36 -0
- package/float32/significand-mask/package.json +68 -0
- package/float32/smallest-normal/README.md +150 -0
- package/float32/smallest-normal/docs/repl.txt +12 -0
- package/float32/smallest-normal/docs/types/index.d.ts +33 -0
- package/float32/smallest-normal/docs/types/test.ts +28 -0
- package/float32/smallest-normal/include/stdlib/constants/float32/smallest_normal.h +27 -0
- package/float32/smallest-normal/lib/index.js +62 -0
- package/float32/smallest-normal/manifest.json +36 -0
- package/float32/smallest-normal/package.json +71 -0
- package/float32/smallest-subnormal/README.md +156 -0
- package/float32/smallest-subnormal/docs/repl.txt +12 -0
- package/float32/smallest-subnormal/docs/types/index.d.ts +33 -0
- package/float32/smallest-subnormal/docs/types/test.ts +28 -0
- package/float32/smallest-subnormal/include/stdlib/constants/float32/smallest_subnormal.h +27 -0
- package/float32/smallest-subnormal/lib/index.js +62 -0
- package/float32/smallest-subnormal/manifest.json +36 -0
- package/float32/smallest-subnormal/package.json +71 -0
- package/float32/sqrt-eps/README.md +171 -0
- package/float32/sqrt-eps/docs/repl.txt +12 -0
- package/float32/sqrt-eps/docs/types/index.d.ts +33 -0
- package/float32/sqrt-eps/docs/types/test.ts +28 -0
- package/float32/sqrt-eps/include/stdlib/constants/float32/sqrt_eps.h +27 -0
- package/float32/sqrt-eps/lib/index.js +57 -0
- package/float32/sqrt-eps/manifest.json +36 -0
- package/float32/sqrt-eps/package.json +74 -0
- package/float32/sqrt-half/README.md +147 -0
- package/float32/sqrt-half/docs/repl.txt +12 -0
- package/float32/sqrt-half/docs/types/index.d.ts +33 -0
- package/float32/sqrt-half/docs/types/test.ts +28 -0
- package/float32/sqrt-half/include/stdlib/constants/float32/sqrt_half.h +27 -0
- package/float32/sqrt-half/lib/index.js +51 -0
- package/float32/sqrt-half/manifest.json +36 -0
- package/float32/sqrt-half/package.json +69 -0
- package/float32/sqrt-half-pi/README.md +147 -0
- package/float32/sqrt-half-pi/docs/repl.txt +12 -0
- package/float32/sqrt-half-pi/docs/types/index.d.ts +33 -0
- package/float32/sqrt-half-pi/docs/types/test.ts +28 -0
- package/float32/sqrt-half-pi/include/stdlib/constants/float32/sqrt_half_pi.h +27 -0
- package/float32/sqrt-half-pi/lib/index.js +48 -0
- package/float32/sqrt-half-pi/manifest.json +36 -0
- package/float32/sqrt-half-pi/package.json +70 -0
- package/float32/sqrt-phi/README.md +147 -0
- package/float32/sqrt-phi/docs/repl.txt +12 -0
- package/float32/sqrt-phi/docs/types/index.d.ts +33 -0
- package/float32/sqrt-phi/docs/types/test.ts +28 -0
- package/float32/sqrt-phi/include/stdlib/constants/float32/sqrt_phi.h +27 -0
- package/float32/sqrt-phi/lib/index.js +49 -0
- package/float32/sqrt-phi/manifest.json +36 -0
- package/float32/sqrt-phi/package.json +79 -0
- package/float32/sqrt-pi/README.md +148 -0
- package/float32/sqrt-pi/docs/repl.txt +13 -0
- package/float32/sqrt-pi/docs/types/index.d.ts +33 -0
- package/float32/sqrt-pi/docs/types/test.ts +28 -0
- package/float32/sqrt-pi/include/stdlib/constants/float32/sqrt_pi.h +27 -0
- package/float32/sqrt-pi/lib/index.js +53 -0
- package/float32/sqrt-pi/manifest.json +36 -0
- package/float32/sqrt-pi/package.json +68 -0
- package/float32/sqrt-three/README.md +150 -0
- package/float32/sqrt-three/docs/repl.txt +12 -0
- package/float32/sqrt-three/docs/types/index.d.ts +33 -0
- package/float32/sqrt-three/docs/types/test.ts +28 -0
- package/float32/sqrt-three/include/stdlib/constants/float32/sqrt_three.h +27 -0
- package/float32/sqrt-three/lib/index.js +51 -0
- package/float32/sqrt-three/manifest.json +36 -0
- package/float32/sqrt-three/package.json +68 -0
- package/float32/sqrt-two/README.md +150 -0
- package/float32/sqrt-two/docs/repl.txt +12 -0
- package/float32/sqrt-two/docs/types/index.d.ts +33 -0
- package/float32/sqrt-two/docs/types/test.ts +28 -0
- package/float32/sqrt-two/include/stdlib/constants/float32/sqrt_two.h +27 -0
- package/float32/sqrt-two/lib/index.js +55 -0
- package/float32/sqrt-two/manifest.json +36 -0
- package/float32/sqrt-two/package.json +69 -0
- package/float32/sqrt-two-pi/README.md +151 -0
- package/float32/sqrt-two-pi/docs/repl.txt +13 -0
- package/float32/sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float32/sqrt-two-pi/docs/types/test.ts +28 -0
- package/float32/sqrt-two-pi/include/stdlib/constants/float32/sqrt_two_pi.h +27 -0
- package/float32/sqrt-two-pi/lib/index.js +52 -0
- package/float32/sqrt-two-pi/manifest.json +36 -0
- package/float32/sqrt-two-pi/package.json +69 -0
- package/float32/two-pi/README.md +151 -0
- package/float32/two-pi/docs/repl.txt +12 -0
- package/float32/two-pi/docs/types/index.d.ts +33 -0
- package/float32/two-pi/docs/types/test.ts +28 -0
- package/float32/two-pi/include/stdlib/constants/float32/two_pi.h +27 -0
- package/float32/two-pi/lib/index.js +52 -0
- package/float32/two-pi/manifest.json +36 -0
- package/float32/two-pi/package.json +66 -0
- package/float64/README.md +293 -0
- package/float64/apery/README.md +156 -0
- package/float64/apery/docs/img/equation_apery_constant.svg +98 -0
- package/float64/apery/docs/repl.txt +12 -0
- package/float64/apery/docs/types/index.d.ts +33 -0
- package/float64/apery/docs/types/test.ts +28 -0
- package/float64/apery/include/stdlib/constants/float64/apery.h +27 -0
- package/float64/apery/lib/index.js +49 -0
- package/float64/apery/manifest.json +36 -0
- package/float64/apery/package.json +69 -0
- package/float64/catalan/README.md +152 -0
- package/float64/catalan/docs/img/equation_catalan_constant.svg +105 -0
- package/float64/catalan/docs/repl.txt +12 -0
- package/float64/catalan/docs/types/index.d.ts +33 -0
- package/float64/catalan/docs/types/test.ts +28 -0
- package/float64/catalan/include/stdlib/constants/float64/catalan.h +27 -0
- package/float64/catalan/lib/index.js +49 -0
- package/float64/catalan/manifest.json +36 -0
- package/float64/catalan/package.json +72 -0
- package/float64/cbrt-eps/README.md +170 -0
- package/float64/cbrt-eps/docs/repl.txt +12 -0
- package/float64/cbrt-eps/docs/types/index.d.ts +33 -0
- package/float64/cbrt-eps/docs/types/test.ts +28 -0
- package/float64/cbrt-eps/include/stdlib/constants/float64/cbrt_eps.h +27 -0
- package/float64/cbrt-eps/lib/index.js +53 -0
- package/float64/cbrt-eps/manifest.json +36 -0
- package/float64/cbrt-eps/package.json +73 -0
- package/float64/docs/types/index.d.ts +707 -0
- package/float64/docs/types/test.ts +29 -0
- package/float64/e/README.md +135 -0
- package/float64/e/docs/repl.txt +12 -0
- package/float64/e/docs/types/index.d.ts +33 -0
- package/float64/e/docs/types/test.ts +28 -0
- package/float64/e/include/stdlib/constants/float64/e.h +27 -0
- package/float64/e/lib/index.js +49 -0
- package/float64/e/manifest.json +36 -0
- package/float64/e/package.json +68 -0
- package/float64/eps/README.md +188 -0
- package/float64/eps/docs/img/equation_epsilon_float64.svg +28 -0
- package/float64/eps/docs/repl.txt +13 -0
- package/float64/eps/docs/types/index.d.ts +33 -0
- package/float64/eps/docs/types/test.ts +28 -0
- package/float64/eps/include/stdlib/constants/float64/eps.h +27 -0
- package/float64/eps/lib/index.js +57 -0
- package/float64/eps/manifest.json +36 -0
- package/float64/eps/package.json +68 -0
- package/float64/eulergamma/README.md +152 -0
- package/float64/eulergamma/docs/img/equation_eulergamma_constant.svg +64 -0
- package/float64/eulergamma/docs/repl.txt +12 -0
- package/float64/eulergamma/docs/types/index.d.ts +33 -0
- package/float64/eulergamma/docs/types/test.ts +28 -0
- package/float64/eulergamma/include/stdlib/constants/float64/eulergamma.h +27 -0
- package/float64/eulergamma/lib/index.js +49 -0
- package/float64/eulergamma/manifest.json +36 -0
- package/float64/eulergamma/package.json +72 -0
- package/float64/exponent-bias/README.md +150 -0
- package/float64/exponent-bias/docs/repl.txt +12 -0
- package/float64/exponent-bias/docs/types/index.d.ts +33 -0
- package/float64/exponent-bias/docs/types/test.ts +28 -0
- package/float64/exponent-bias/include/stdlib/constants/float64/exponent_bias.h +27 -0
- package/float64/exponent-bias/lib/index.js +58 -0
- package/float64/exponent-bias/manifest.json +36 -0
- package/float64/exponent-bias/package.json +66 -0
- package/float64/fourth-pi/README.md +147 -0
- package/float64/fourth-pi/docs/repl.txt +12 -0
- package/float64/fourth-pi/docs/types/index.d.ts +33 -0
- package/float64/fourth-pi/docs/types/test.ts +28 -0
- package/float64/fourth-pi/include/stdlib/constants/float64/fourth_pi.h +27 -0
- package/float64/fourth-pi/lib/index.js +48 -0
- package/float64/fourth-pi/manifest.json +36 -0
- package/float64/fourth-pi/package.json +66 -0
- package/float64/fourth-root-eps/README.md +145 -0
- package/float64/fourth-root-eps/docs/repl.txt +12 -0
- package/float64/fourth-root-eps/docs/types/index.d.ts +33 -0
- package/float64/fourth-root-eps/docs/types/test.ts +28 -0
- package/float64/fourth-root-eps/include/stdlib/constants/float64/fourth_root_eps.h +27 -0
- package/float64/fourth-root-eps/lib/index.js +53 -0
- package/float64/fourth-root-eps/manifest.json +36 -0
- package/float64/fourth-root-eps/package.json +73 -0
- package/float64/gamma-lanczos-g/README.md +153 -0
- package/float64/gamma-lanczos-g/docs/repl.txt +12 -0
- package/float64/gamma-lanczos-g/docs/types/index.d.ts +33 -0
- package/float64/gamma-lanczos-g/docs/types/test.ts +28 -0
- package/float64/gamma-lanczos-g/include/stdlib/constants/float64/gamma_lanczos_g.h +27 -0
- package/float64/gamma-lanczos-g/lib/index.js +48 -0
- package/float64/gamma-lanczos-g/manifest.json +36 -0
- package/float64/gamma-lanczos-g/package.json +71 -0
- package/float64/glaisher-kinkelin/README.md +167 -0
- package/float64/glaisher-kinkelin/docs/img/equation_glaisher_kinkelin_constant.svg +84 -0
- package/float64/glaisher-kinkelin/docs/img/equation_k_function.svg +38 -0
- package/float64/glaisher-kinkelin/docs/repl.txt +12 -0
- package/float64/glaisher-kinkelin/docs/types/index.d.ts +33 -0
- package/float64/glaisher-kinkelin/docs/types/test.ts +28 -0
- package/float64/glaisher-kinkelin/include/stdlib/constants/float64/glaisher_kinkelin.h +27 -0
- package/float64/glaisher-kinkelin/lib/index.js +49 -0
- package/float64/glaisher-kinkelin/manifest.json +36 -0
- package/float64/glaisher-kinkelin/package.json +74 -0
- package/float64/half-ln-two/README.md +147 -0
- package/float64/half-ln-two/docs/repl.txt +12 -0
- package/float64/half-ln-two/docs/types/index.d.ts +33 -0
- package/float64/half-ln-two/docs/types/test.ts +28 -0
- package/float64/half-ln-two/include/stdlib/constants/float64/half_ln_two.h +27 -0
- package/float64/half-ln-two/lib/index.js +50 -0
- package/float64/half-ln-two/manifest.json +36 -0
- package/float64/half-ln-two/package.json +71 -0
- package/float64/half-pi/README.md +147 -0
- package/float64/half-pi/docs/repl.txt +12 -0
- package/float64/half-pi/docs/types/index.d.ts +33 -0
- package/float64/half-pi/docs/types/test.ts +28 -0
- package/float64/half-pi/include/stdlib/constants/float64/half_pi.h +27 -0
- package/float64/half-pi/lib/index.js +48 -0
- package/float64/half-pi/manifest.json +36 -0
- package/float64/half-pi/package.json +66 -0
- package/float64/high-word-abs-mask/README.md +180 -0
- package/float64/high-word-abs-mask/docs/repl.txt +15 -0
- package/float64/high-word-abs-mask/docs/types/index.d.ts +33 -0
- package/float64/high-word-abs-mask/docs/types/test.ts +28 -0
- package/float64/high-word-abs-mask/include/stdlib/constants/float64/high_word_abs_mask.h +27 -0
- package/float64/high-word-abs-mask/lib/index.js +56 -0
- package/float64/high-word-abs-mask/manifest.json +36 -0
- package/float64/high-word-abs-mask/package.json +69 -0
- package/float64/high-word-exponent-mask/README.md +178 -0
- package/float64/high-word-exponent-mask/docs/repl.txt +14 -0
- package/float64/high-word-exponent-mask/docs/types/index.d.ts +33 -0
- package/float64/high-word-exponent-mask/docs/types/test.ts +28 -0
- package/float64/high-word-exponent-mask/include/stdlib/constants/float64/high_word_exponent_mask.h +27 -0
- package/float64/high-word-exponent-mask/lib/index.js +56 -0
- package/float64/high-word-exponent-mask/manifest.json +36 -0
- package/float64/high-word-exponent-mask/package.json +69 -0
- package/float64/high-word-sign-mask/README.md +184 -0
- package/float64/high-word-sign-mask/docs/repl.txt +14 -0
- package/float64/high-word-sign-mask/docs/types/index.d.ts +33 -0
- package/float64/high-word-sign-mask/docs/types/test.ts +28 -0
- package/float64/high-word-sign-mask/include/stdlib/constants/float64/high_word_sign_mask.h +27 -0
- package/float64/high-word-sign-mask/lib/index.js +56 -0
- package/float64/high-word-sign-mask/manifest.json +36 -0
- package/float64/high-word-sign-mask/package.json +69 -0
- package/float64/high-word-significand-mask/README.md +178 -0
- package/float64/high-word-significand-mask/docs/repl.txt +15 -0
- package/float64/high-word-significand-mask/docs/types/index.d.ts +33 -0
- package/float64/high-word-significand-mask/docs/types/test.ts +28 -0
- package/float64/high-word-significand-mask/include/stdlib/constants/float64/high_word_significand_mask.h +27 -0
- package/float64/high-word-significand-mask/lib/index.js +56 -0
- package/float64/high-word-significand-mask/manifest.json +36 -0
- package/float64/high-word-significand-mask/package.json +69 -0
- package/float64/lib/index.js +712 -0
- package/float64/ln-half/README.md +135 -0
- package/float64/ln-half/docs/repl.txt +12 -0
- package/float64/ln-half/docs/types/index.d.ts +33 -0
- package/float64/ln-half/docs/types/test.ts +28 -0
- package/float64/ln-half/include/stdlib/constants/float64/ln_half.h +27 -0
- package/float64/ln-half/lib/index.js +51 -0
- package/float64/ln-half/manifest.json +36 -0
- package/float64/ln-half/package.json +71 -0
- package/float64/ln-pi/README.md +147 -0
- package/float64/ln-pi/docs/repl.txt +12 -0
- package/float64/ln-pi/docs/types/index.d.ts +33 -0
- package/float64/ln-pi/docs/types/test.ts +28 -0
- package/float64/ln-pi/include/stdlib/constants/float64/ln_pi.h +27 -0
- package/float64/ln-pi/lib/index.js +48 -0
- package/float64/ln-pi/manifest.json +36 -0
- package/float64/ln-pi/package.json +70 -0
- package/float64/ln-sqrt-two-pi/README.md +149 -0
- package/float64/ln-sqrt-two-pi/docs/repl.txt +12 -0
- package/float64/ln-sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float64/ln-sqrt-two-pi/docs/types/test.ts +28 -0
- package/float64/ln-sqrt-two-pi/include/stdlib/constants/float64/ln_sqrt_two_pi.h +27 -0
- package/float64/ln-sqrt-two-pi/lib/index.js +51 -0
- package/float64/ln-sqrt-two-pi/manifest.json +36 -0
- package/float64/ln-sqrt-two-pi/package.json +74 -0
- package/float64/ln-ten/README.md +147 -0
- package/float64/ln-ten/docs/repl.txt +12 -0
- package/float64/ln-ten/docs/types/index.d.ts +33 -0
- package/float64/ln-ten/docs/types/test.ts +28 -0
- package/float64/ln-ten/include/stdlib/constants/float64/ln_ten.h +27 -0
- package/float64/ln-ten/lib/index.js +51 -0
- package/float64/ln-ten/manifest.json +36 -0
- package/float64/ln-ten/package.json +71 -0
- package/float64/ln-two/README.md +147 -0
- package/float64/ln-two/docs/repl.txt +12 -0
- package/float64/ln-two/docs/types/index.d.ts +33 -0
- package/float64/ln-two/docs/types/test.ts +28 -0
- package/float64/ln-two/include/stdlib/constants/float64/ln_two.h +27 -0
- package/float64/ln-two/lib/index.js +51 -0
- package/float64/ln-two/manifest.json +36 -0
- package/float64/ln-two/package.json +71 -0
- package/float64/ln-two-pi/README.md +147 -0
- package/float64/ln-two-pi/docs/repl.txt +12 -0
- package/float64/ln-two-pi/docs/types/index.d.ts +33 -0
- package/float64/ln-two-pi/docs/types/test.ts +28 -0
- package/float64/ln-two-pi/include/stdlib/constants/float64/ln_two_pi.h +27 -0
- package/float64/ln-two-pi/lib/index.js +51 -0
- package/float64/ln-two-pi/manifest.json +36 -0
- package/float64/ln-two-pi/package.json +73 -0
- package/float64/log10-e/README.md +150 -0
- package/float64/log10-e/docs/repl.txt +12 -0
- package/float64/log10-e/docs/types/index.d.ts +33 -0
- package/float64/log10-e/docs/types/test.ts +28 -0
- package/float64/log10-e/include/stdlib/constants/float64/log10_e.h +27 -0
- package/float64/log10-e/lib/index.js +49 -0
- package/float64/log10-e/manifest.json +36 -0
- package/float64/log10-e/package.json +71 -0
- package/float64/log2-e/README.md +150 -0
- package/float64/log2-e/docs/repl.txt +12 -0
- package/float64/log2-e/docs/types/index.d.ts +33 -0
- package/float64/log2-e/docs/types/test.ts +28 -0
- package/float64/log2-e/include/stdlib/constants/float64/log2_e.h +27 -0
- package/float64/log2-e/lib/index.js +49 -0
- package/float64/log2-e/manifest.json +36 -0
- package/float64/log2-e/package.json +71 -0
- package/float64/max/README.md +150 -0
- package/float64/max/docs/repl.txt +12 -0
- package/float64/max/docs/types/index.d.ts +33 -0
- package/float64/max/docs/types/test.ts +28 -0
- package/float64/max/include/stdlib/constants/float64/max.h +27 -0
- package/float64/max/lib/index.js +56 -0
- package/float64/max/manifest.json +36 -0
- package/float64/max/package.json +71 -0
- package/float64/max-base10-exponent/README.md +159 -0
- package/float64/max-base10-exponent/docs/repl.txt +12 -0
- package/float64/max-base10-exponent/docs/types/index.d.ts +33 -0
- package/float64/max-base10-exponent/docs/types/test.ts +28 -0
- package/float64/max-base10-exponent/include/stdlib/constants/float64/max_base10_exponent.h +27 -0
- package/float64/max-base10-exponent/lib/index.js +48 -0
- package/float64/max-base10-exponent/manifest.json +36 -0
- package/float64/max-base10-exponent/package.json +68 -0
- package/float64/max-base10-exponent-subnormal/README.md +159 -0
- package/float64/max-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float64/max-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float64/max-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float64/max-base10-exponent-subnormal/include/stdlib/constants/float64/max_base10_exponent_subnormal.h +27 -0
- package/float64/max-base10-exponent-subnormal/lib/index.js +52 -0
- package/float64/max-base10-exponent-subnormal/manifest.json +36 -0
- package/float64/max-base10-exponent-subnormal/package.json +70 -0
- package/float64/max-base2-exponent/README.md +159 -0
- package/float64/max-base2-exponent/docs/repl.txt +13 -0
- package/float64/max-base2-exponent/docs/types/index.d.ts +33 -0
- package/float64/max-base2-exponent/docs/types/test.ts +28 -0
- package/float64/max-base2-exponent/include/stdlib/constants/float64/max_base2_exponent.h +27 -0
- package/float64/max-base2-exponent/lib/index.js +54 -0
- package/float64/max-base2-exponent/manifest.json +36 -0
- package/float64/max-base2-exponent/package.json +70 -0
- package/float64/max-base2-exponent-subnormal/README.md +159 -0
- package/float64/max-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float64/max-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float64/max-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float64/max-base2-exponent-subnormal/include/stdlib/constants/float64/max_base2_exponent_subnormal.h +27 -0
- package/float64/max-base2-exponent-subnormal/lib/index.js +54 -0
- package/float64/max-base2-exponent-subnormal/manifest.json +36 -0
- package/float64/max-base2-exponent-subnormal/package.json +72 -0
- package/float64/max-ln/README.md +149 -0
- package/float64/max-ln/docs/repl.txt +12 -0
- package/float64/max-ln/docs/types/index.d.ts +33 -0
- package/float64/max-ln/docs/types/test.ts +28 -0
- package/float64/max-ln/include/stdlib/constants/float64/max_ln.h +27 -0
- package/float64/max-ln/lib/index.js +56 -0
- package/float64/max-ln/manifest.json +36 -0
- package/float64/max-ln/package.json +75 -0
- package/float64/max-nth-double-factorial/README.md +164 -0
- package/float64/max-nth-double-factorial/docs/repl.txt +13 -0
- package/float64/max-nth-double-factorial/docs/types/index.d.ts +33 -0
- package/float64/max-nth-double-factorial/docs/types/test.ts +28 -0
- package/float64/max-nth-double-factorial/include/stdlib/constants/float64/max_nth_double_factorial.h +27 -0
- package/float64/max-nth-double-factorial/lib/index.js +49 -0
- package/float64/max-nth-double-factorial/manifest.json +36 -0
- package/float64/max-nth-double-factorial/package.json +70 -0
- package/float64/max-nth-factorial/README.md +164 -0
- package/float64/max-nth-factorial/docs/repl.txt +13 -0
- package/float64/max-nth-factorial/docs/types/index.d.ts +33 -0
- package/float64/max-nth-factorial/docs/types/test.ts +28 -0
- package/float64/max-nth-factorial/include/stdlib/constants/float64/max_nth_factorial.h +27 -0
- package/float64/max-nth-factorial/lib/index.js +49 -0
- package/float64/max-nth-factorial/manifest.json +36 -0
- package/float64/max-nth-factorial/package.json +70 -0
- package/float64/max-safe-fibonacci/README.md +180 -0
- package/float64/max-safe-fibonacci/docs/repl.txt +13 -0
- package/float64/max-safe-fibonacci/docs/types/index.d.ts +33 -0
- package/float64/max-safe-fibonacci/docs/types/test.ts +28 -0
- package/float64/max-safe-fibonacci/include/stdlib/constants/float64/max_safe_fibonacci.h +27 -0
- package/float64/max-safe-fibonacci/lib/index.js +49 -0
- package/float64/max-safe-fibonacci/manifest.json +36 -0
- package/float64/max-safe-fibonacci/package.json +73 -0
- package/float64/max-safe-integer/README.md +167 -0
- package/float64/max-safe-integer/docs/repl.txt +15 -0
- package/float64/max-safe-integer/docs/types/index.d.ts +33 -0
- package/float64/max-safe-integer/docs/types/test.ts +28 -0
- package/float64/max-safe-integer/include/stdlib/constants/float64/max_safe_integer.h +27 -0
- package/float64/max-safe-integer/lib/index.js +57 -0
- package/float64/max-safe-integer/manifest.json +36 -0
- package/float64/max-safe-integer/package.json +69 -0
- package/float64/max-safe-lucas/README.md +180 -0
- package/float64/max-safe-lucas/docs/repl.txt +13 -0
- package/float64/max-safe-lucas/docs/types/index.d.ts +33 -0
- package/float64/max-safe-lucas/docs/types/test.ts +28 -0
- package/float64/max-safe-lucas/include/stdlib/constants/float64/max_safe_lucas.h +27 -0
- package/float64/max-safe-lucas/lib/index.js +49 -0
- package/float64/max-safe-lucas/manifest.json +36 -0
- package/float64/max-safe-lucas/package.json +74 -0
- package/float64/max-safe-nth-double-factorial/README.md +166 -0
- package/float64/max-safe-nth-double-factorial/docs/repl.txt +13 -0
- package/float64/max-safe-nth-double-factorial/docs/types/index.d.ts +33 -0
- package/float64/max-safe-nth-double-factorial/docs/types/test.ts +28 -0
- package/float64/max-safe-nth-double-factorial/include/stdlib/constants/float64/max_safe_nth_double_factorial.h +27 -0
- package/float64/max-safe-nth-double-factorial/lib/index.js +49 -0
- package/float64/max-safe-nth-double-factorial/manifest.json +36 -0
- package/float64/max-safe-nth-double-factorial/package.json +72 -0
- package/float64/max-safe-nth-factorial/README.md +166 -0
- package/float64/max-safe-nth-factorial/docs/repl.txt +13 -0
- package/float64/max-safe-nth-factorial/docs/types/index.d.ts +33 -0
- package/float64/max-safe-nth-factorial/docs/types/test.ts +28 -0
- package/float64/max-safe-nth-factorial/include/stdlib/constants/float64/max_safe_nth_factorial.h +27 -0
- package/float64/max-safe-nth-factorial/lib/index.js +49 -0
- package/float64/max-safe-nth-factorial/manifest.json +36 -0
- package/float64/max-safe-nth-factorial/package.json +72 -0
- package/float64/max-safe-nth-fibonacci/README.md +180 -0
- package/float64/max-safe-nth-fibonacci/docs/repl.txt +13 -0
- package/float64/max-safe-nth-fibonacci/docs/types/index.d.ts +33 -0
- package/float64/max-safe-nth-fibonacci/docs/types/test.ts +28 -0
- package/float64/max-safe-nth-fibonacci/include/stdlib/constants/float64/max_safe_nth_fibonacci.h +27 -0
- package/float64/max-safe-nth-fibonacci/lib/index.js +49 -0
- package/float64/max-safe-nth-fibonacci/manifest.json +36 -0
- package/float64/max-safe-nth-fibonacci/package.json +73 -0
- package/float64/max-safe-nth-lucas/README.md +185 -0
- package/float64/max-safe-nth-lucas/docs/repl.txt +13 -0
- package/float64/max-safe-nth-lucas/docs/types/index.d.ts +33 -0
- package/float64/max-safe-nth-lucas/docs/types/test.ts +28 -0
- package/float64/max-safe-nth-lucas/include/stdlib/constants/float64/max_safe_nth_lucas.h +27 -0
- package/float64/max-safe-nth-lucas/lib/index.js +51 -0
- package/float64/max-safe-nth-lucas/manifest.json +36 -0
- package/float64/max-safe-nth-lucas/package.json +74 -0
- package/float64/max-safe-nth-tribonacci/README.md +183 -0
- package/float64/max-safe-nth-tribonacci/docs/repl.txt +13 -0
- package/float64/max-safe-nth-tribonacci/docs/types/index.d.ts +33 -0
- package/float64/max-safe-nth-tribonacci/docs/types/test.ts +28 -0
- package/float64/max-safe-nth-tribonacci/include/stdlib/constants/float64/max_safe_nth_tribonacci.h +27 -0
- package/float64/max-safe-nth-tribonacci/lib/index.js +49 -0
- package/float64/max-safe-nth-tribonacci/manifest.json +36 -0
- package/float64/max-safe-nth-tribonacci/package.json +73 -0
- package/float64/min-base10-exponent/README.md +159 -0
- package/float64/min-base10-exponent/docs/repl.txt +13 -0
- package/float64/min-base10-exponent/docs/types/index.d.ts +33 -0
- package/float64/min-base10-exponent/docs/types/test.ts +28 -0
- package/float64/min-base10-exponent/include/stdlib/constants/float64/min_base10_exponent.h +27 -0
- package/float64/min-base10-exponent/lib/index.js +52 -0
- package/float64/min-base10-exponent/manifest.json +36 -0
- package/float64/min-base10-exponent/package.json +69 -0
- package/float64/min-base10-exponent-subnormal/README.md +159 -0
- package/float64/min-base10-exponent-subnormal/docs/repl.txt +13 -0
- package/float64/min-base10-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float64/min-base10-exponent-subnormal/docs/types/test.ts +28 -0
- package/float64/min-base10-exponent-subnormal/include/stdlib/constants/float64/min_base10_exponent_subnormal.h +27 -0
- package/float64/min-base10-exponent-subnormal/lib/index.js +48 -0
- package/float64/min-base10-exponent-subnormal/manifest.json +36 -0
- package/float64/min-base10-exponent-subnormal/package.json +70 -0
- package/float64/min-base2-exponent/README.md +159 -0
- package/float64/min-base2-exponent/docs/repl.txt +13 -0
- package/float64/min-base2-exponent/docs/types/index.d.ts +33 -0
- package/float64/min-base2-exponent/docs/types/test.ts +28 -0
- package/float64/min-base2-exponent/include/stdlib/constants/float64/min_base2_exponent.h +27 -0
- package/float64/min-base2-exponent/lib/index.js +54 -0
- package/float64/min-base2-exponent/manifest.json +36 -0
- package/float64/min-base2-exponent/package.json +71 -0
- package/float64/min-base2-exponent-subnormal/README.md +159 -0
- package/float64/min-base2-exponent-subnormal/docs/repl.txt +13 -0
- package/float64/min-base2-exponent-subnormal/docs/types/index.d.ts +33 -0
- package/float64/min-base2-exponent-subnormal/docs/types/test.ts +28 -0
- package/float64/min-base2-exponent-subnormal/include/stdlib/constants/float64/min_base2_exponent_subnormal.h +27 -0
- package/float64/min-base2-exponent-subnormal/lib/index.js +54 -0
- package/float64/min-base2-exponent-subnormal/manifest.json +36 -0
- package/float64/min-base2-exponent-subnormal/package.json +72 -0
- package/float64/min-ln/README.md +149 -0
- package/float64/min-ln/docs/repl.txt +13 -0
- package/float64/min-ln/docs/types/index.d.ts +33 -0
- package/float64/min-ln/docs/types/test.ts +28 -0
- package/float64/min-ln/include/stdlib/constants/float64/min_ln.h +27 -0
- package/float64/min-ln/lib/index.js +56 -0
- package/float64/min-ln/manifest.json +36 -0
- package/float64/min-ln/package.json +73 -0
- package/float64/min-safe-integer/README.md +167 -0
- package/float64/min-safe-integer/docs/repl.txt +15 -0
- package/float64/min-safe-integer/docs/types/index.d.ts +33 -0
- package/float64/min-safe-integer/docs/types/test.ts +28 -0
- package/float64/min-safe-integer/include/stdlib/constants/float64/min_safe_integer.h +27 -0
- package/float64/min-safe-integer/lib/index.js +57 -0
- package/float64/min-safe-integer/manifest.json +36 -0
- package/float64/min-safe-integer/package.json +69 -0
- package/float64/nan/README.md +147 -0
- package/float64/nan/docs/repl.txt +12 -0
- package/float64/nan/docs/types/index.d.ts +33 -0
- package/float64/nan/docs/types/test.ts +28 -0
- package/float64/nan/include/stdlib/constants/float64/nan.h +27 -0
- package/float64/nan/lib/index.js +48 -0
- package/float64/nan/manifest.json +36 -0
- package/float64/nan/package.json +66 -0
- package/float64/ninf/README.md +153 -0
- package/float64/ninf/docs/repl.txt +12 -0
- package/float64/ninf/docs/types/index.d.ts +33 -0
- package/float64/ninf/docs/types/test.ts +28 -0
- package/float64/ninf/include/stdlib/constants/float64/ninf.h +29 -0
- package/float64/ninf/lib/index.js +60 -0
- package/float64/ninf/manifest.json +36 -0
- package/float64/ninf/package.json +69 -0
- package/float64/num-bytes/README.md +150 -0
- package/float64/num-bytes/docs/repl.txt +12 -0
- package/float64/num-bytes/docs/types/index.d.ts +33 -0
- package/float64/num-bytes/docs/types/test.ts +28 -0
- package/float64/num-bytes/include/stdlib/constants/float64/num_bytes.h +27 -0
- package/float64/num-bytes/lib/index.js +47 -0
- package/float64/num-bytes/manifest.json +36 -0
- package/float64/num-bytes/package.json +71 -0
- package/float64/num-high-word-significand-bits/README.md +143 -0
- package/float64/num-high-word-significand-bits/docs/repl.txt +13 -0
- package/float64/num-high-word-significand-bits/docs/types/index.d.ts +33 -0
- package/float64/num-high-word-significand-bits/docs/types/test.ts +28 -0
- package/float64/num-high-word-significand-bits/include/stdlib/constants/float64/num_high_word_significand_bits.h +27 -0
- package/float64/num-high-word-significand-bits/lib/index.js +47 -0
- package/float64/num-high-word-significand-bits/manifest.json +36 -0
- package/float64/num-high-word-significand-bits/package.json +68 -0
- package/float64/package.json +68 -0
- package/float64/phi/README.md +154 -0
- package/float64/phi/docs/img/equation_golden_ratio.svg +31 -0
- package/float64/phi/docs/repl.txt +12 -0
- package/float64/phi/docs/types/index.d.ts +33 -0
- package/float64/phi/docs/types/test.ts +28 -0
- package/float64/phi/include/stdlib/constants/float64/phi.h +27 -0
- package/float64/phi/lib/index.js +49 -0
- package/float64/phi/manifest.json +36 -0
- package/float64/phi/package.json +77 -0
- package/float64/pi/README.md +147 -0
- package/float64/pi/docs/repl.txt +12 -0
- package/float64/pi/docs/types/index.d.ts +33 -0
- package/float64/pi/docs/types/test.ts +28 -0
- package/float64/pi/include/stdlib/constants/float64/pi.h +27 -0
- package/float64/pi/lib/index.js +48 -0
- package/float64/pi/manifest.json +36 -0
- package/float64/pi/package.json +65 -0
- package/float64/pi-squared/README.md +145 -0
- package/float64/pi-squared/docs/repl.txt +12 -0
- package/float64/pi-squared/docs/types/index.d.ts +33 -0
- package/float64/pi-squared/docs/types/test.ts +28 -0
- package/float64/pi-squared/include/stdlib/constants/float64/pi_squared.h +27 -0
- package/float64/pi-squared/lib/index.js +48 -0
- package/float64/pi-squared/manifest.json +36 -0
- package/float64/pi-squared/package.json +66 -0
- package/float64/pinf/README.md +147 -0
- package/float64/pinf/docs/repl.txt +12 -0
- package/float64/pinf/docs/types/index.d.ts +33 -0
- package/float64/pinf/docs/types/test.ts +28 -0
- package/float64/pinf/include/stdlib/constants/float64/pinf.h +29 -0
- package/float64/pinf/lib/index.js +56 -0
- package/float64/pinf/manifest.json +36 -0
- package/float64/pinf/package.json +68 -0
- package/float64/precision/README.md +152 -0
- package/float64/precision/docs/repl.txt +15 -0
- package/float64/precision/docs/types/index.d.ts +33 -0
- package/float64/precision/docs/types/test.ts +28 -0
- package/float64/precision/include/stdlib/constants/float64/precision.h +27 -0
- package/float64/precision/lib/index.js +48 -0
- package/float64/precision/manifest.json +36 -0
- package/float64/precision/package.json +66 -0
- package/float64/smallest-normal/README.md +150 -0
- package/float64/smallest-normal/docs/repl.txt +12 -0
- package/float64/smallest-normal/docs/types/index.d.ts +33 -0
- package/float64/smallest-normal/docs/types/test.ts +28 -0
- package/float64/smallest-normal/include/stdlib/constants/float64/smallest_normal.h +27 -0
- package/float64/smallest-normal/lib/index.js +62 -0
- package/float64/smallest-normal/manifest.json +36 -0
- package/float64/smallest-normal/package.json +72 -0
- package/float64/smallest-subnormal/README.md +156 -0
- package/float64/smallest-subnormal/docs/repl.txt +12 -0
- package/float64/smallest-subnormal/docs/types/index.d.ts +33 -0
- package/float64/smallest-subnormal/docs/types/test.ts +28 -0
- package/float64/smallest-subnormal/include/stdlib/constants/float64/smallest_subnormal.h +27 -0
- package/float64/smallest-subnormal/lib/index.js +62 -0
- package/float64/smallest-subnormal/manifest.json +36 -0
- package/float64/smallest-subnormal/package.json +73 -0
- package/float64/sqrt-eps/README.md +167 -0
- package/float64/sqrt-eps/docs/repl.txt +12 -0
- package/float64/sqrt-eps/docs/types/index.d.ts +33 -0
- package/float64/sqrt-eps/docs/types/test.ts +28 -0
- package/float64/sqrt-eps/include/stdlib/constants/float64/sqrt_eps.h +27 -0
- package/float64/sqrt-eps/lib/index.js +53 -0
- package/float64/sqrt-eps/manifest.json +36 -0
- package/float64/sqrt-eps/package.json +73 -0
- package/float64/sqrt-half/README.md +147 -0
- package/float64/sqrt-half/docs/repl.txt +12 -0
- package/float64/sqrt-half/docs/types/index.d.ts +33 -0
- package/float64/sqrt-half/docs/types/test.ts +28 -0
- package/float64/sqrt-half/include/stdlib/constants/float64/sqrt_half.h +27 -0
- package/float64/sqrt-half/lib/index.js +51 -0
- package/float64/sqrt-half/manifest.json +36 -0
- package/float64/sqrt-half/package.json +70 -0
- package/float64/sqrt-half-pi/README.md +145 -0
- package/float64/sqrt-half-pi/docs/repl.txt +12 -0
- package/float64/sqrt-half-pi/docs/types/index.d.ts +33 -0
- package/float64/sqrt-half-pi/docs/types/test.ts +28 -0
- package/float64/sqrt-half-pi/include/stdlib/constants/float64/sqrt_half_pi.h +27 -0
- package/float64/sqrt-half-pi/lib/index.js +48 -0
- package/float64/sqrt-half-pi/manifest.json +36 -0
- package/float64/sqrt-half-pi/package.json +71 -0
- package/float64/sqrt-phi/README.md +145 -0
- package/float64/sqrt-phi/docs/repl.txt +12 -0
- package/float64/sqrt-phi/docs/types/index.d.ts +33 -0
- package/float64/sqrt-phi/docs/types/test.ts +28 -0
- package/float64/sqrt-phi/include/stdlib/constants/float64/sqrt_phi.h +27 -0
- package/float64/sqrt-phi/lib/index.js +49 -0
- package/float64/sqrt-phi/manifest.json +36 -0
- package/float64/sqrt-phi/package.json +80 -0
- package/float64/sqrt-pi/README.md +145 -0
- package/float64/sqrt-pi/docs/repl.txt +12 -0
- package/float64/sqrt-pi/docs/types/index.d.ts +33 -0
- package/float64/sqrt-pi/docs/types/test.ts +28 -0
- package/float64/sqrt-pi/include/stdlib/constants/float64/sqrt_pi.h +27 -0
- package/float64/sqrt-pi/lib/index.js +49 -0
- package/float64/sqrt-pi/manifest.json +36 -0
- package/float64/sqrt-pi/package.json +69 -0
- package/float64/sqrt-three/README.md +135 -0
- package/float64/sqrt-three/docs/repl.txt +12 -0
- package/float64/sqrt-three/docs/types/index.d.ts +33 -0
- package/float64/sqrt-three/docs/types/test.ts +28 -0
- package/float64/sqrt-three/include/stdlib/constants/float64/sqrt_three.h +27 -0
- package/float64/sqrt-three/lib/index.js +51 -0
- package/float64/sqrt-three/manifest.json +36 -0
- package/float64/sqrt-three/package.json +69 -0
- package/float64/sqrt-two/README.md +147 -0
- package/float64/sqrt-two/docs/repl.txt +12 -0
- package/float64/sqrt-two/docs/types/index.d.ts +33 -0
- package/float64/sqrt-two/docs/types/test.ts +28 -0
- package/float64/sqrt-two/include/stdlib/constants/float64/sqrt_two.h +27 -0
- package/float64/sqrt-two/lib/index.js +51 -0
- package/float64/sqrt-two/manifest.json +36 -0
- package/float64/sqrt-two/package.json +70 -0
- package/float64/sqrt-two-pi/README.md +147 -0
- package/float64/sqrt-two-pi/docs/repl.txt +12 -0
- package/float64/sqrt-two-pi/docs/types/index.d.ts +33 -0
- package/float64/sqrt-two-pi/docs/types/test.ts +28 -0
- package/float64/sqrt-two-pi/include/stdlib/constants/float64/sqrt_two_pi.h +27 -0
- package/float64/sqrt-two-pi/lib/index.js +48 -0
- package/float64/sqrt-two-pi/manifest.json +36 -0
- package/float64/sqrt-two-pi/package.json +70 -0
- package/float64/two-pi/README.md +145 -0
- package/float64/two-pi/docs/repl.txt +12 -0
- package/float64/two-pi/docs/types/index.d.ts +33 -0
- package/float64/two-pi/docs/types/test.ts +28 -0
- package/float64/two-pi/include/stdlib/constants/float64/two_pi.h +27 -0
- package/float64/two-pi/lib/index.js +48 -0
- package/float64/two-pi/manifest.json +36 -0
- package/float64/two-pi/package.json +67 -0
- package/int16/README.md +101 -0
- package/int16/docs/types/index.d.ts +67 -0
- package/int16/docs/types/test.ts +29 -0
- package/int16/lib/index.js +72 -0
- package/int16/max/README.md +91 -0
- package/int16/max/docs/repl.txt +14 -0
- package/int16/max/docs/types/index.d.ts +33 -0
- package/int16/max/docs/types/test.ts +28 -0
- package/int16/max/lib/index.js +61 -0
- package/int16/max/package.json +63 -0
- package/int16/min/README.md +91 -0
- package/int16/min/docs/repl.txt +14 -0
- package/int16/min/docs/types/index.d.ts +33 -0
- package/int16/min/docs/types/test.ts +28 -0
- package/int16/min/lib/index.js +61 -0
- package/int16/min/package.json +63 -0
- package/int16/num-bytes/README.md +97 -0
- package/int16/num-bytes/docs/repl.txt +12 -0
- package/int16/num-bytes/docs/types/index.d.ts +33 -0
- package/int16/num-bytes/docs/types/test.ts +28 -0
- package/int16/num-bytes/lib/index.js +47 -0
- package/int16/num-bytes/package.json +68 -0
- package/int16/package.json +69 -0
- package/int32/README.md +101 -0
- package/int32/docs/types/index.d.ts +67 -0
- package/int32/docs/types/test.ts +29 -0
- package/int32/lib/index.js +72 -0
- package/int32/max/README.md +147 -0
- package/int32/max/docs/repl.txt +14 -0
- package/int32/max/docs/types/index.d.ts +33 -0
- package/int32/max/docs/types/test.ts +28 -0
- package/int32/max/include/stdlib/constants/int32/max.h +27 -0
- package/int32/max/lib/index.js +61 -0
- package/int32/max/manifest.json +36 -0
- package/int32/max/package.json +64 -0
- package/int32/min/README.md +91 -0
- package/int32/min/docs/repl.txt +14 -0
- package/int32/min/docs/types/index.d.ts +33 -0
- package/int32/min/docs/types/test.ts +28 -0
- package/int32/min/lib/index.js +61 -0
- package/int32/min/package.json +63 -0
- package/int32/num-bytes/README.md +97 -0
- package/int32/num-bytes/docs/repl.txt +12 -0
- package/int32/num-bytes/docs/types/index.d.ts +33 -0
- package/int32/num-bytes/docs/types/test.ts +28 -0
- package/int32/num-bytes/lib/index.js +47 -0
- package/int32/num-bytes/package.json +71 -0
- package/int32/package.json +69 -0
- package/int8/README.md +101 -0
- package/int8/docs/types/index.d.ts +67 -0
- package/int8/docs/types/test.ts +29 -0
- package/int8/lib/index.js +72 -0
- package/int8/max/README.md +91 -0
- package/int8/max/docs/repl.txt +14 -0
- package/int8/max/docs/types/index.d.ts +33 -0
- package/int8/max/docs/types/test.ts +28 -0
- package/int8/max/lib/index.js +61 -0
- package/int8/max/package.json +63 -0
- package/int8/min/README.md +91 -0
- package/int8/min/docs/repl.txt +14 -0
- package/int8/min/docs/types/index.d.ts +33 -0
- package/int8/min/docs/types/test.ts +28 -0
- package/int8/min/lib/index.js +61 -0
- package/int8/min/package.json +63 -0
- package/int8/num-bytes/README.md +97 -0
- package/int8/num-bytes/docs/repl.txt +12 -0
- package/int8/num-bytes/docs/types/index.d.ts +33 -0
- package/int8/num-bytes/docs/types/test.ts +28 -0
- package/int8/num-bytes/lib/index.js +47 -0
- package/int8/num-bytes/package.json +71 -0
- package/int8/package.json +69 -0
- package/lib/index.js +177 -0
- package/package.json +116 -4
- package/path/README.md +110 -0
- package/path/delimiter/README.md +108 -0
- package/path/delimiter/docs/repl.txt +22 -0
- package/path/delimiter/docs/types/index.d.ts +45 -0
- package/path/delimiter/docs/types/test.ts +28 -0
- package/path/delimiter/lib/index.js +64 -0
- package/path/delimiter/package.json +66 -0
- package/path/delimiter-posix/README.md +93 -0
- package/path/delimiter-posix/docs/repl.txt +15 -0
- package/path/delimiter-posix/docs/types/index.d.ts +34 -0
- package/path/delimiter-posix/docs/types/test.ts +28 -0
- package/path/delimiter-posix/lib/index.js +49 -0
- package/path/delimiter-posix/package.json +64 -0
- package/path/delimiter-win32/README.md +93 -0
- package/path/delimiter-win32/docs/repl.txt +15 -0
- package/path/delimiter-win32/docs/types/index.d.ts +34 -0
- package/path/delimiter-win32/docs/types/test.ts +28 -0
- package/path/delimiter-win32/lib/index.js +49 -0
- package/path/delimiter-win32/package.json +63 -0
- package/path/docs/types/index.d.ts +119 -0
- package/path/docs/types/test.ts +29 -0
- package/path/lib/index.js +102 -0
- package/path/package.json +64 -0
- package/path/sep/README.md +108 -0
- package/path/sep/docs/repl.txt +20 -0
- package/path/sep/docs/types/index.d.ts +41 -0
- package/path/sep/docs/types/test.ts +28 -0
- package/path/sep/lib/index.js +60 -0
- package/path/sep/package.json +66 -0
- package/path/sep-posix/README.md +97 -0
- package/path/sep-posix/docs/repl.txt +14 -0
- package/path/sep-posix/docs/types/index.d.ts +33 -0
- package/path/sep-posix/docs/types/test.ts +28 -0
- package/path/sep-posix/lib/index.js +48 -0
- package/path/sep-posix/package.json +64 -0
- package/path/sep-win32/README.md +97 -0
- package/path/sep-win32/docs/repl.txt +14 -0
- package/path/sep-win32/docs/types/index.d.ts +33 -0
- package/path/sep-win32/docs/types/test.ts +28 -0
- package/path/sep-win32/lib/index.js +48 -0
- package/path/sep-win32/package.json +64 -0
- package/time/README.md +137 -0
- package/time/docs/types/index.d.ts +187 -0
- package/time/docs/types/test.ts +29 -0
- package/time/hours-in-day/README.md +112 -0
- package/time/hours-in-day/docs/repl.txt +17 -0
- package/time/hours-in-day/docs/types/index.d.ts +33 -0
- package/time/hours-in-day/docs/types/test.ts +28 -0
- package/time/hours-in-day/lib/index.js +47 -0
- package/time/hours-in-day/package.json +62 -0
- package/time/hours-in-week/README.md +112 -0
- package/time/hours-in-week/docs/repl.txt +17 -0
- package/time/hours-in-week/docs/types/index.d.ts +33 -0
- package/time/hours-in-week/docs/types/test.ts +28 -0
- package/time/hours-in-week/lib/index.js +51 -0
- package/time/hours-in-week/package.json +63 -0
- package/time/lib/index.js +192 -0
- package/time/milliseconds-in-day/README.md +100 -0
- package/time/milliseconds-in-day/docs/repl.txt +17 -0
- package/time/milliseconds-in-day/docs/types/index.d.ts +33 -0
- package/time/milliseconds-in-day/docs/types/test.ts +28 -0
- package/time/milliseconds-in-day/lib/index.js +51 -0
- package/time/milliseconds-in-day/package.json +61 -0
- package/time/milliseconds-in-hour/README.md +100 -0
- package/time/milliseconds-in-hour/docs/repl.txt +17 -0
- package/time/milliseconds-in-hour/docs/types/index.d.ts +33 -0
- package/time/milliseconds-in-hour/docs/types/test.ts +28 -0
- package/time/milliseconds-in-hour/lib/index.js +51 -0
- package/time/milliseconds-in-hour/package.json +62 -0
- package/time/milliseconds-in-minute/README.md +100 -0
- package/time/milliseconds-in-minute/docs/repl.txt +16 -0
- package/time/milliseconds-in-minute/docs/types/index.d.ts +33 -0
- package/time/milliseconds-in-minute/docs/types/test.ts +28 -0
- package/time/milliseconds-in-minute/lib/index.js +51 -0
- package/time/milliseconds-in-minute/package.json +62 -0
- package/time/milliseconds-in-second/README.md +100 -0
- package/time/milliseconds-in-second/docs/repl.txt +16 -0
- package/time/milliseconds-in-second/docs/types/index.d.ts +33 -0
- package/time/milliseconds-in-second/docs/types/test.ts +28 -0
- package/time/milliseconds-in-second/lib/index.js +47 -0
- package/time/milliseconds-in-second/package.json +62 -0
- package/time/milliseconds-in-week/README.md +100 -0
- package/time/milliseconds-in-week/docs/repl.txt +17 -0
- package/time/milliseconds-in-week/docs/types/index.d.ts +33 -0
- package/time/milliseconds-in-week/docs/types/test.ts +28 -0
- package/time/milliseconds-in-week/lib/index.js +51 -0
- package/time/milliseconds-in-week/package.json +62 -0
- package/time/minutes-in-day/README.md +100 -0
- package/time/minutes-in-day/docs/repl.txt +17 -0
- package/time/minutes-in-day/docs/types/index.d.ts +33 -0
- package/time/minutes-in-day/docs/types/test.ts +28 -0
- package/time/minutes-in-day/lib/index.js +51 -0
- package/time/minutes-in-day/package.json +62 -0
- package/time/minutes-in-hour/README.md +100 -0
- package/time/minutes-in-hour/docs/repl.txt +17 -0
- package/time/minutes-in-hour/docs/types/index.d.ts +33 -0
- package/time/minutes-in-hour/docs/types/test.ts +28 -0
- package/time/minutes-in-hour/lib/index.js +47 -0
- package/time/minutes-in-hour/package.json +63 -0
- package/time/minutes-in-week/README.md +100 -0
- package/time/minutes-in-week/docs/repl.txt +17 -0
- package/time/minutes-in-week/docs/types/index.d.ts +33 -0
- package/time/minutes-in-week/docs/types/test.ts +28 -0
- package/time/minutes-in-week/lib/index.js +51 -0
- package/time/minutes-in-week/package.json +63 -0
- package/time/months-in-year/README.md +100 -0
- package/time/months-in-year/docs/repl.txt +17 -0
- package/time/months-in-year/docs/types/index.d.ts +33 -0
- package/time/months-in-year/docs/types/test.ts +28 -0
- package/time/months-in-year/lib/index.js +47 -0
- package/time/months-in-year/package.json +63 -0
- package/time/package.json +61 -0
- package/time/seconds-in-day/README.md +100 -0
- package/time/seconds-in-day/docs/repl.txt +17 -0
- package/time/seconds-in-day/docs/types/index.d.ts +33 -0
- package/time/seconds-in-day/docs/types/test.ts +28 -0
- package/time/seconds-in-day/lib/index.js +51 -0
- package/time/seconds-in-day/package.json +62 -0
- package/time/seconds-in-hour/README.md +100 -0
- package/time/seconds-in-hour/docs/repl.txt +17 -0
- package/time/seconds-in-hour/docs/types/index.d.ts +33 -0
- package/time/seconds-in-hour/docs/types/test.ts +28 -0
- package/time/seconds-in-hour/lib/index.js +51 -0
- package/time/seconds-in-hour/package.json +63 -0
- package/time/seconds-in-minute/README.md +100 -0
- package/time/seconds-in-minute/docs/repl.txt +16 -0
- package/time/seconds-in-minute/docs/types/index.d.ts +33 -0
- package/time/seconds-in-minute/docs/types/test.ts +28 -0
- package/time/seconds-in-minute/lib/index.js +47 -0
- package/time/seconds-in-minute/package.json +63 -0
- package/time/seconds-in-week/README.md +100 -0
- package/time/seconds-in-week/docs/repl.txt +17 -0
- package/time/seconds-in-week/docs/types/index.d.ts +33 -0
- package/time/seconds-in-week/docs/types/test.ts +28 -0
- package/time/seconds-in-week/lib/index.js +51 -0
- package/time/seconds-in-week/package.json +63 -0
- package/uint16/README.md +98 -0
- package/uint16/docs/types/index.d.ts +57 -0
- package/uint16/docs/types/test.ts +29 -0
- package/uint16/lib/index.js +62 -0
- package/uint16/max/README.md +91 -0
- package/uint16/max/docs/repl.txt +14 -0
- package/uint16/max/docs/types/index.d.ts +33 -0
- package/uint16/max/docs/types/test.ts +28 -0
- package/uint16/max/lib/index.js +61 -0
- package/uint16/max/package.json +63 -0
- package/uint16/num-bytes/README.md +97 -0
- package/uint16/num-bytes/docs/repl.txt +12 -0
- package/uint16/num-bytes/docs/types/index.d.ts +33 -0
- package/uint16/num-bytes/docs/types/test.ts +28 -0
- package/uint16/num-bytes/lib/index.js +47 -0
- package/uint16/num-bytes/package.json +70 -0
- package/uint16/package.json +69 -0
- package/uint32/README.md +98 -0
- package/uint32/docs/types/index.d.ts +57 -0
- package/uint32/docs/types/test.ts +29 -0
- package/uint32/lib/index.js +62 -0
- package/uint32/max/README.md +101 -0
- package/uint32/max/docs/repl.txt +14 -0
- package/uint32/max/docs/types/index.d.ts +33 -0
- package/uint32/max/docs/types/test.ts +28 -0
- package/uint32/max/lib/index.js +61 -0
- package/uint32/max/package.json +65 -0
- package/uint32/num-bytes/README.md +97 -0
- package/uint32/num-bytes/docs/repl.txt +12 -0
- package/uint32/num-bytes/docs/types/index.d.ts +33 -0
- package/uint32/num-bytes/docs/types/test.ts +28 -0
- package/uint32/num-bytes/lib/index.js +47 -0
- package/uint32/num-bytes/package.json +71 -0
- package/uint32/package.json +69 -0
- package/uint8/README.md +98 -0
- package/uint8/docs/types/index.d.ts +57 -0
- package/uint8/docs/types/test.ts +29 -0
- package/uint8/lib/index.js +62 -0
- package/uint8/max/README.md +91 -0
- package/uint8/max/docs/repl.txt +14 -0
- package/uint8/max/docs/types/index.d.ts +33 -0
- package/uint8/max/docs/types/test.ts +28 -0
- package/uint8/max/lib/index.js +61 -0
- package/uint8/max/package.json +63 -0
- package/uint8/num-bytes/README.md +97 -0
- package/uint8/num-bytes/docs/repl.txt +12 -0
- package/uint8/num-bytes/docs/types/index.d.ts +33 -0
- package/uint8/num-bytes/docs/types/test.ts +28 -0
- package/uint8/num-bytes/lib/index.js +47 -0
- package/uint8/num-bytes/package.json +71 -0
- package/uint8/package.json +69 -0
- package/unicode/README.md +98 -0
- package/unicode/docs/types/index.d.ts +57 -0
- package/unicode/docs/types/test.ts +29 -0
- package/unicode/lib/index.js +62 -0
- package/unicode/max/README.md +99 -0
- package/unicode/max/docs/repl.txt +12 -0
- package/unicode/max/docs/types/index.d.ts +33 -0
- package/unicode/max/docs/types/test.ts +28 -0
- package/unicode/max/lib/index.js +48 -0
- package/unicode/max/package.json +69 -0
- package/unicode/max-bmp/README.md +99 -0
- package/unicode/max-bmp/docs/repl.txt +12 -0
- package/unicode/max-bmp/docs/types/index.d.ts +33 -0
- package/unicode/max-bmp/docs/types/test.ts +28 -0
- package/unicode/max-bmp/lib/index.js +48 -0
- package/unicode/max-bmp/package.json +73 -0
- package/unicode/package.json +66 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
'use strict';
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
// MODULES //
|
|
26
|
+
|
|
27
|
+
var setReadOnly = require( '@ohos-ports/stdlib-utils/define-read-only-property' );
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// MAIN //
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Top-level namespace.
|
|
34
|
+
*
|
|
35
|
+
* @namespace ns
|
|
36
|
+
*/
|
|
37
|
+
var ns = {};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @name array
|
|
41
|
+
* @memberof ns
|
|
42
|
+
* @readonly
|
|
43
|
+
* @type {Namespace}
|
|
44
|
+
* @see {@link module:@stdlib/constants/array}
|
|
45
|
+
*/
|
|
46
|
+
setReadOnly( ns, 'array', require( './../array' ) );
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @name complex64
|
|
50
|
+
* @memberof ns
|
|
51
|
+
* @readonly
|
|
52
|
+
* @type {Namespace}
|
|
53
|
+
* @see {@link module:@stdlib/constants/complex64}
|
|
54
|
+
*/
|
|
55
|
+
setReadOnly( ns, 'complex64', require( './../complex64' ) );
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @name complex128
|
|
59
|
+
* @memberof ns
|
|
60
|
+
* @readonly
|
|
61
|
+
* @type {Namespace}
|
|
62
|
+
* @see {@link module:@stdlib/constants/complex128}
|
|
63
|
+
*/
|
|
64
|
+
setReadOnly( ns, 'complex128', require( './../complex128' ) );
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @name float16
|
|
68
|
+
* @memberof ns
|
|
69
|
+
* @readonly
|
|
70
|
+
* @type {Namespace}
|
|
71
|
+
* @see {@link module:@stdlib/constants/float16}
|
|
72
|
+
*/
|
|
73
|
+
setReadOnly( ns, 'float16', require( './../float16' ) );
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @name float32
|
|
77
|
+
* @memberof ns
|
|
78
|
+
* @readonly
|
|
79
|
+
* @type {Namespace}
|
|
80
|
+
* @see {@link module:@stdlib/constants/float32}
|
|
81
|
+
*/
|
|
82
|
+
setReadOnly( ns, 'float32', require( './../float32' ) );
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @name float64
|
|
86
|
+
* @memberof ns
|
|
87
|
+
* @readonly
|
|
88
|
+
* @type {Namespace}
|
|
89
|
+
* @see {@link module:@stdlib/constants/float64}
|
|
90
|
+
*/
|
|
91
|
+
setReadOnly( ns, 'float64', require( './../float64' ) );
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @name int8
|
|
95
|
+
* @memberof ns
|
|
96
|
+
* @readonly
|
|
97
|
+
* @type {Namespace}
|
|
98
|
+
* @see {@link module:@stdlib/constants/int8}
|
|
99
|
+
*/
|
|
100
|
+
setReadOnly( ns, 'int8', require( './../int8' ) );
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @name int16
|
|
104
|
+
* @memberof ns
|
|
105
|
+
* @readonly
|
|
106
|
+
* @type {Namespace}
|
|
107
|
+
* @see {@link module:@stdlib/constants/int16}
|
|
108
|
+
*/
|
|
109
|
+
setReadOnly( ns, 'int16', require( './../int16' ) );
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @name int32
|
|
113
|
+
* @memberof ns
|
|
114
|
+
* @readonly
|
|
115
|
+
* @type {Namespace}
|
|
116
|
+
* @see {@link module:@stdlib/constants/int32}
|
|
117
|
+
*/
|
|
118
|
+
setReadOnly( ns, 'int32', require( './../int32' ) );
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @name path
|
|
122
|
+
* @memberof ns
|
|
123
|
+
* @readonly
|
|
124
|
+
* @type {Namespace}
|
|
125
|
+
* @see {@link module:@stdlib/constants/path}
|
|
126
|
+
*/
|
|
127
|
+
setReadOnly( ns, 'path', require( './../path' ) );
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @name time
|
|
131
|
+
* @memberof ns
|
|
132
|
+
* @readonly
|
|
133
|
+
* @type {Namespace}
|
|
134
|
+
* @see {@link module:@stdlib/constants/time}
|
|
135
|
+
*/
|
|
136
|
+
setReadOnly( ns, 'time', require( './../time' ) );
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @name uint8
|
|
140
|
+
* @memberof ns
|
|
141
|
+
* @readonly
|
|
142
|
+
* @type {Namespace}
|
|
143
|
+
* @see {@link module:@stdlib/constants/uint8}
|
|
144
|
+
*/
|
|
145
|
+
setReadOnly( ns, 'uint8', require( './../uint8' ) );
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @name uint16
|
|
149
|
+
* @memberof ns
|
|
150
|
+
* @readonly
|
|
151
|
+
* @type {Namespace}
|
|
152
|
+
* @see {@link module:@stdlib/constants/uint16}
|
|
153
|
+
*/
|
|
154
|
+
setReadOnly( ns, 'uint16', require( './../uint16' ) );
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @name uint32
|
|
158
|
+
* @memberof ns
|
|
159
|
+
* @readonly
|
|
160
|
+
* @type {Namespace}
|
|
161
|
+
* @see {@link module:@stdlib/constants/uint32}
|
|
162
|
+
*/
|
|
163
|
+
setReadOnly( ns, 'uint32', require( './../uint32' ) );
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @name unicode
|
|
167
|
+
* @memberof ns
|
|
168
|
+
* @readonly
|
|
169
|
+
* @type {Namespace}
|
|
170
|
+
* @see {@link module:@stdlib/constants/unicode}
|
|
171
|
+
*/
|
|
172
|
+
setReadOnly( ns, 'unicode', require( './../unicode' ) );
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
// EXPORTS //
|
|
176
|
+
|
|
177
|
+
module.exports = ns;
|
package/package.json
CHANGED
|
@@ -1,6 +1,118 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/stdlib-constants",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.4.1-beta.1",
|
|
4
|
+
"description": "Constants.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "The Stdlib Authors",
|
|
8
|
+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
|
|
9
|
+
},
|
|
10
|
+
"contributors": [
|
|
11
|
+
{
|
|
12
|
+
"name": "The Stdlib Authors",
|
|
13
|
+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"main": "./lib",
|
|
17
|
+
"directories": {
|
|
18
|
+
"doc": "./docs",
|
|
19
|
+
"lib": "./lib"
|
|
20
|
+
},
|
|
21
|
+
"types": "./docs/types",
|
|
22
|
+
"scripts": {},
|
|
23
|
+
"homepage": "https://stdlib.io",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/ohos-ports/ohos-ports.git",
|
|
27
|
+
"directory": "ports/stdlib-constants/0.4.1"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/ohos-ports/ohos-ports/issues"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@ohos-ports/stdlib-array": "^0.5.1-beta.0",
|
|
34
|
+
"@ohos-ports/stdlib-assert": "^0.4.1-beta.2",
|
|
35
|
+
"@ohos-ports/stdlib-complex": "^0.4.1-beta.1",
|
|
36
|
+
"@ohos-ports/stdlib-number": "^0.4.1-beta.1",
|
|
37
|
+
"@ohos-ports/stdlib-types": "^0.5.1-beta.1",
|
|
38
|
+
"@ohos-ports/stdlib-utils": "^0.4.1-beta.1"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=0.10.0",
|
|
43
|
+
"npm": ">2.7.0"
|
|
44
|
+
},
|
|
45
|
+
"os": [
|
|
46
|
+
"aix",
|
|
47
|
+
"darwin",
|
|
48
|
+
"freebsd",
|
|
49
|
+
"linux",
|
|
50
|
+
"macos",
|
|
51
|
+
"openbsd",
|
|
52
|
+
"sunos",
|
|
53
|
+
"win32",
|
|
54
|
+
"windows",
|
|
55
|
+
"openharmony"
|
|
56
|
+
],
|
|
57
|
+
"keywords": [
|
|
58
|
+
"stdlib",
|
|
59
|
+
"standard",
|
|
60
|
+
"library",
|
|
61
|
+
"std",
|
|
62
|
+
"lib",
|
|
63
|
+
"constants",
|
|
64
|
+
"const"
|
|
65
|
+
],
|
|
66
|
+
"funding": {
|
|
67
|
+
"type": "opencollective",
|
|
68
|
+
"url": "https://opencollective.com/stdlib"
|
|
69
|
+
},
|
|
70
|
+
"bundledDependencies": [
|
|
71
|
+
"@stdlib/array",
|
|
72
|
+
"@stdlib/assert",
|
|
73
|
+
"@stdlib/bigint",
|
|
74
|
+
"@stdlib/blas",
|
|
75
|
+
"@stdlib/boolean",
|
|
76
|
+
"@stdlib/buffer",
|
|
77
|
+
"@stdlib/cli",
|
|
78
|
+
"@stdlib/complex",
|
|
79
|
+
"@stdlib/constants",
|
|
80
|
+
"@stdlib/dstructs",
|
|
81
|
+
"@stdlib/fs",
|
|
82
|
+
"@stdlib/function",
|
|
83
|
+
"@stdlib/iter",
|
|
84
|
+
"@stdlib/lapack",
|
|
85
|
+
"@stdlib/math",
|
|
86
|
+
"@stdlib/napi",
|
|
87
|
+
"@stdlib/ndarray",
|
|
88
|
+
"@stdlib/nlp",
|
|
89
|
+
"@stdlib/number",
|
|
90
|
+
"@stdlib/object",
|
|
91
|
+
"@stdlib/os",
|
|
92
|
+
"@stdlib/process",
|
|
93
|
+
"@stdlib/proxy",
|
|
94
|
+
"@stdlib/random",
|
|
95
|
+
"@stdlib/regexp",
|
|
96
|
+
"@stdlib/slice",
|
|
97
|
+
"@stdlib/stats",
|
|
98
|
+
"@stdlib/streams",
|
|
99
|
+
"@stdlib/strided",
|
|
100
|
+
"@stdlib/string",
|
|
101
|
+
"@stdlib/symbol",
|
|
102
|
+
"@stdlib/time",
|
|
103
|
+
"@stdlib/types",
|
|
104
|
+
"@stdlib/utils",
|
|
105
|
+
"@stdlib/wasm",
|
|
106
|
+
"core-util-is",
|
|
107
|
+
"debug",
|
|
108
|
+
"inherits",
|
|
109
|
+
"isarray",
|
|
110
|
+
"minimist",
|
|
111
|
+
"ms",
|
|
112
|
+
"process-nextick-args",
|
|
113
|
+
"readable-stream",
|
|
114
|
+
"safe-buffer",
|
|
115
|
+
"string_decoder",
|
|
116
|
+
"util-deprecate"
|
|
117
|
+
]
|
|
118
|
+
}
|
package/path/README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
@license Apache-2.0
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2021 The Stdlib Authors.
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
|
|
19
|
+
-->
|
|
20
|
+
|
|
21
|
+
# Path Constants
|
|
22
|
+
|
|
23
|
+
> Path constants.
|
|
24
|
+
|
|
25
|
+
<section class="usage">
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
var constants = require( '@stdlib/constants/path' );
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
#### constants
|
|
34
|
+
|
|
35
|
+
Namespace containing path constants.
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
var ns = constants;
|
|
39
|
+
// returns {...}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
<!-- <toc pattern="*"> -->
|
|
43
|
+
|
|
44
|
+
<div class="namespace-toc">
|
|
45
|
+
|
|
46
|
+
- <span class="signature">[`DELIMITER_POSIX`][@stdlib/constants/path/delimiter-posix]</span><span class="delimiter">: </span><span class="description">POSIX path delimiter.</span>
|
|
47
|
+
- <span class="signature">[`DELIMITER_WIN32`][@stdlib/constants/path/delimiter-win32]</span><span class="delimiter">: </span><span class="description">Windows path delimiter.</span>
|
|
48
|
+
- <span class="signature">[`DELIMITER`][@stdlib/constants/path/delimiter]</span><span class="delimiter">: </span><span class="description">platform-specific path delimiter.</span>
|
|
49
|
+
- <span class="signature">[`SEP_POSIX`][@stdlib/constants/path/sep-posix]</span><span class="delimiter">: </span><span class="description">POSIX path segment separator.</span>
|
|
50
|
+
- <span class="signature">[`SEP_WIN32`][@stdlib/constants/path/sep-win32]</span><span class="delimiter">: </span><span class="description">Windows path segment separator.</span>
|
|
51
|
+
- <span class="signature">[`SEP`][@stdlib/constants/path/sep]</span><span class="delimiter">: </span><span class="description">platform-specific path segment separator.</span>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<!-- </toc> -->
|
|
56
|
+
|
|
57
|
+
</section>
|
|
58
|
+
|
|
59
|
+
<!-- /.usage -->
|
|
60
|
+
|
|
61
|
+
<section class="examples">
|
|
62
|
+
|
|
63
|
+
## Examples
|
|
64
|
+
|
|
65
|
+
<!-- TODO: better examples -->
|
|
66
|
+
|
|
67
|
+
<!-- eslint no-undef: "error" -->
|
|
68
|
+
|
|
69
|
+
```javascript
|
|
70
|
+
var objectKeys = require( '@stdlib/utils/keys' );
|
|
71
|
+
var constants = require( '@stdlib/constants/path' );
|
|
72
|
+
|
|
73
|
+
console.log( objectKeys( constants ) );
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</section>
|
|
77
|
+
|
|
78
|
+
<!-- /.examples -->
|
|
79
|
+
|
|
80
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
81
|
+
|
|
82
|
+
<section class="related">
|
|
83
|
+
|
|
84
|
+
</section>
|
|
85
|
+
|
|
86
|
+
<!-- /.related -->
|
|
87
|
+
|
|
88
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
89
|
+
|
|
90
|
+
<section class="links">
|
|
91
|
+
|
|
92
|
+
<!-- <toc-links> -->
|
|
93
|
+
|
|
94
|
+
[@stdlib/constants/path/delimiter-posix]: https://github.com/stdlib-js/constants/tree/main/path/delimiter-posix
|
|
95
|
+
|
|
96
|
+
[@stdlib/constants/path/delimiter-win32]: https://github.com/stdlib-js/constants/tree/main/path/delimiter-win32
|
|
97
|
+
|
|
98
|
+
[@stdlib/constants/path/delimiter]: https://github.com/stdlib-js/constants/tree/main/path/delimiter
|
|
99
|
+
|
|
100
|
+
[@stdlib/constants/path/sep-posix]: https://github.com/stdlib-js/constants/tree/main/path/sep-posix
|
|
101
|
+
|
|
102
|
+
[@stdlib/constants/path/sep-win32]: https://github.com/stdlib-js/constants/tree/main/path/sep-win32
|
|
103
|
+
|
|
104
|
+
[@stdlib/constants/path/sep]: https://github.com/stdlib-js/constants/tree/main/path/sep
|
|
105
|
+
|
|
106
|
+
<!-- </toc-links> -->
|
|
107
|
+
|
|
108
|
+
</section>
|
|
109
|
+
|
|
110
|
+
<!-- /.links -->
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
@license Apache-2.0
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2018 The Stdlib Authors.
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
|
|
19
|
+
-->
|
|
20
|
+
|
|
21
|
+
# Path Delimiter
|
|
22
|
+
|
|
23
|
+
> Platform-specific path delimiter.
|
|
24
|
+
|
|
25
|
+
<section class="usage">
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
var PATH_DELIMITER = require( '@stdlib/constants/path/delimiter' );
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
#### PATH_DELIMITER
|
|
34
|
+
|
|
35
|
+
Platform-specific path delimiter.
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
var IS_WINDOWS = require( '@stdlib/assert/is-windows' );
|
|
39
|
+
|
|
40
|
+
var bool;
|
|
41
|
+
if ( IS_WINDOWS ) {
|
|
42
|
+
bool = ( PATH_DELIMITER === ';' );
|
|
43
|
+
// returns true
|
|
44
|
+
} else {
|
|
45
|
+
bool = ( PATH_DELIMITER === ':' );
|
|
46
|
+
// returns true
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
</section>
|
|
51
|
+
|
|
52
|
+
<!-- /.usage -->
|
|
53
|
+
|
|
54
|
+
<section class="examples">
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
<!-- eslint no-undef: "error" -->
|
|
59
|
+
|
|
60
|
+
```javascript
|
|
61
|
+
var IS_WINDOWS = require( '@stdlib/assert/is-windows' );
|
|
62
|
+
var PATH_DELIMITER = require( '@stdlib/constants/path/delimiter' );
|
|
63
|
+
|
|
64
|
+
var PATH;
|
|
65
|
+
if ( IS_WINDOWS ) {
|
|
66
|
+
PATH = 'C:\\Windows\\system32;C:\\Windows;C:\\Program Files\\node\\';
|
|
67
|
+
} else {
|
|
68
|
+
PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
|
|
69
|
+
}
|
|
70
|
+
var paths = PATH.split( PATH_DELIMITER );
|
|
71
|
+
console.log( paths );
|
|
72
|
+
// => [...]
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</section>
|
|
76
|
+
|
|
77
|
+
<!-- /.examples -->
|
|
78
|
+
|
|
79
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
80
|
+
|
|
81
|
+
<section class="related">
|
|
82
|
+
|
|
83
|
+
* * *
|
|
84
|
+
|
|
85
|
+
## See Also
|
|
86
|
+
|
|
87
|
+
- <span class="package-name">[`@stdlib/constants/path/delimiter-posix`][@stdlib/constants/path/delimiter-posix]</span><span class="delimiter">: </span><span class="description">POSIX path delimiter.</span>
|
|
88
|
+
- <span class="package-name">[`@stdlib/constants/path/delimiter-win32`][@stdlib/constants/path/delimiter-win32]</span><span class="delimiter">: </span><span class="description">Windows path delimiter.</span>
|
|
89
|
+
|
|
90
|
+
</section>
|
|
91
|
+
|
|
92
|
+
<!-- /.related -->
|
|
93
|
+
|
|
94
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
95
|
+
|
|
96
|
+
<section class="links">
|
|
97
|
+
|
|
98
|
+
<!-- <related-links> -->
|
|
99
|
+
|
|
100
|
+
[@stdlib/constants/path/delimiter-posix]: https://github.com/stdlib-js/constants/tree/main/path/delimiter-posix
|
|
101
|
+
|
|
102
|
+
[@stdlib/constants/path/delimiter-win32]: https://github.com/stdlib-js/constants/tree/main/path/delimiter-win32
|
|
103
|
+
|
|
104
|
+
<!-- </related-links> -->
|
|
105
|
+
|
|
106
|
+
</section>
|
|
107
|
+
|
|
108
|
+
<!-- /.links -->
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
{{alias}}
|
|
3
|
+
Platform-specific path delimiter.
|
|
4
|
+
|
|
5
|
+
Examples
|
|
6
|
+
--------
|
|
7
|
+
> {{alias}}
|
|
8
|
+
<string>
|
|
9
|
+
|
|
10
|
+
// POSIX environment:
|
|
11
|
+
> var path = '/usr/bin:/bin:/usr/sbin';
|
|
12
|
+
> var parts = path.split( {{alias}} )
|
|
13
|
+
[ '/usr/bin', '/bin', '/usr/sbin' ]
|
|
14
|
+
|
|
15
|
+
// Windows environment:
|
|
16
|
+
> path = 'C:\\Windows\\system32;C:\\Windows';
|
|
17
|
+
> parts = path.split( {{alias}} )
|
|
18
|
+
[ 'C:\\Windows\system32', 'C:\\Windows' ]
|
|
19
|
+
|
|
20
|
+
See Also
|
|
21
|
+
--------
|
|
22
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2019 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// TypeScript Version: 4.1
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Platform-specific path delimiter.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* var IS_WINDOWS = require( '@stdlib/assert/is-windows' );
|
|
26
|
+
*
|
|
27
|
+
* var PATH;
|
|
28
|
+
* var paths;
|
|
29
|
+
*
|
|
30
|
+
* if ( IS_WINDOWS ) {
|
|
31
|
+
* PATH = 'C:\\Windows\\system32;C:\\Windows;C:\\Program Files\\node\\';
|
|
32
|
+
* paths = PATH.split( PATH_DELIMITER );
|
|
33
|
+
* // returns ['C:\\Windows\\system32','C:\\Windows','C:\\Program Files\\node\\']
|
|
34
|
+
* } else {
|
|
35
|
+
* PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
|
|
36
|
+
* paths = PATH.split( PATH_DELIMITER );
|
|
37
|
+
* // returns ['/usr/bin','/bin','/usr/sbin','/sbin','/usr/local/bin']
|
|
38
|
+
* }
|
|
39
|
+
*/
|
|
40
|
+
declare const PATH_DELIMITER: string;
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// EXPORTS //
|
|
44
|
+
|
|
45
|
+
export = PATH_DELIMITER;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2019 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import PATH_DELIMITER = require( './index' );
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// TESTS //
|
|
23
|
+
|
|
24
|
+
// The variable is a string...
|
|
25
|
+
{
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
27
|
+
PATH_DELIMITER; // $ExpectType string
|
|
28
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Apache-2.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2018 The Stdlib Authors.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
'use strict';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Platform-specific path delimiter.
|
|
23
|
+
*
|
|
24
|
+
* @module @stdlib/constants/path/delimiter
|
|
25
|
+
* @type {string}
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* var IS_WINDOWS = require( '@ohos-ports/stdlib-assert/is-windows' );
|
|
29
|
+
* var PATH_DELIMITER = require( '@ohos-ports/stdlib-constants/path/delimiter' );
|
|
30
|
+
*
|
|
31
|
+
* var PATH;
|
|
32
|
+
* var paths;
|
|
33
|
+
*
|
|
34
|
+
* if ( IS_WINDOWS ) {
|
|
35
|
+
* PATH = 'C:\\Windows\\system32;C:\\Windows;C:\\Program Files\\node\\';
|
|
36
|
+
* paths = PATH.split( PATH_DELIMITER );
|
|
37
|
+
* // returns ['C:\\Windows\\system32','C:\\Windows','C:\\Program Files\\node\\']
|
|
38
|
+
* } else {
|
|
39
|
+
* PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
|
|
40
|
+
* paths = PATH.split( PATH_DELIMITER );
|
|
41
|
+
* // returns ['/usr/bin','/bin','/usr/sbin','/sbin','/usr/local/bin']
|
|
42
|
+
* }
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
// MODULES //
|
|
46
|
+
|
|
47
|
+
var IS_WINDOWS = require( '@ohos-ports/stdlib-assert/is-windows' );
|
|
48
|
+
var PATH_DELIMITER_WIN32 = require( './../../../path/delimiter-win32' );
|
|
49
|
+
var PATH_DELIMITER_POSIX = require( './../../../path/delimiter-posix' );
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
// MAIN //
|
|
53
|
+
|
|
54
|
+
var PATH_DELIMITER;
|
|
55
|
+
if ( IS_WINDOWS ) {
|
|
56
|
+
PATH_DELIMITER = PATH_DELIMITER_WIN32;
|
|
57
|
+
} else {
|
|
58
|
+
PATH_DELIMITER = PATH_DELIMITER_POSIX;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// EXPORTS //
|
|
63
|
+
|
|
64
|
+
module.exports = PATH_DELIMITER;
|