Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arithmetic-type/double
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Choose a base ref
...
head repository: arithmetic-type/double
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0
Choose a head ref

Commits on Jul 13, 2017

  1. Copy the full SHA
    7980be5 View commit details

Commits on Jul 19, 2017

  1. Merge pull request #23 from aureooms/greenkeeper/ava-0.21.0

    Update ava to the latest version 🚀
    Aurélien Ooms authored Jul 19, 2017
    Copy the full SHA
    8fd1506 View commit details

Commits on Apr 24, 2020

  1. Copy the full SHA
    488f366 View commit details
  2. Copy the full SHA
    4f7d6d6 View commit details
  3. Copy the full SHA
    3c9a1d8 View commit details
  4. Copy the full SHA
    d0c7038 View commit details
  5. Copy the full SHA
    5036d5e View commit details
  6. Copy the full SHA
    bfddfed View commit details
  7. Copy the full SHA
    165421a View commit details
  8. Copy the full SHA
    237a855 View commit details
  9. Copy the full SHA
    0b69d37 View commit details
  10. Copy the full SHA
    c1f4c45 View commit details
  11. Copy the full SHA
    c209bd0 View commit details
  12. Copy the full SHA
    8863642 View commit details
  13. Copy the full SHA
    34fc1ad View commit details
  14. Copy the full SHA
    c2fea11 View commit details
  15. Copy the full SHA
    aa054f2 View commit details
  16. Copy the full SHA
    70404bd View commit details
  17. Copy the full SHA
    b07cd54 View commit details
  18. Copy the full SHA
    2222731 View commit details
  19. Copy the full SHA
    83011cb View commit details

Commits on Mar 25, 2021

  1. Copy the full SHA
    b54b5cf View commit details
  2. Copy the full SHA
    340c98c View commit details
  3. 🤖 chore: Remove .codacy.yml.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codacy:config-remove.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    5fde423 View commit details
  4. 🤖 chore: Format .codeclimate.yml.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codeclimate:format-config-file.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    d268a80 View commit details
  5. 🤖 config(codeclimate): Remove obsolete languages key.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codeclimate:remove-obsolete-languages-key.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    2dbd168 View commit details
  6. 🤖 config(codeclimate): Rename exclude_paths to exclude_patterns.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codeclimate:rename-exclude-paths-to-exclude-patterns.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    884bc63 View commit details
  7. 🤖 refactor: Use ESM import syntax.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/codemod:use-esm-import-syntax.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    a918dac View commit details
  8. 🤖 chore(package.json): Add devDependency fixpack.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-fixpack.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    08550ed View commit details
  9. 🤖 chore(.esdoc.json): Format file.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/esdoc:format-config-file.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    36e8319 View commit details
  10. 🤖 config(fixpack): Update or create .fixpackrc.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/fixpack:configure.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    89b8293 View commit details
  11. 🤖 chore(package.json): Use https for homepage URL.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/package.json:homepage-use-https.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    675a09a View commit details
  12. 🤖 chore(package.json): Remove .git suffix of repository URL.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/package.json:repository-url-remove-git-suffix.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    9e7c8f9 View commit details
  13. 🤖 chore(package.json): Add lint-config-and-fix script.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/package.json:scripts-add-lint-config-and-fix.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    318fbde View commit details
  14. 🤖 chore(package.json): Add lint-config script.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/package.json:scripts-add-lint-config.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    3045bdb View commit details
  15. 🤖 chore: Lint configuration files.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/package.json:initial-lint.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    7ba576e View commit details
  16. 🤖 config(ava): Sort keys.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/ava:config-sort-keys.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    da40371 View commit details
  17. 🤖 chore: Use c8 instead of nyc.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/coverage:replace-nyc-by-c8.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    df8a20e View commit details
  18. 🤖 chore(package.json): Add devDependency babel-plugin-transform-remov…

    …e-console.
    
    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-babel-plugin-transform-remove-console.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    c95ccb1 View commit details
  19. 🤖 chore(package.json): Add devDependency babel-plugin-unassert.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-babel-plugin-unassert.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    48bb23e View commit details
  20. 🤖 chore(package.json): Add devDependency power-assert.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-power-assert.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    5c27a16 View commit details
  21. 🤖 chore(package.json): Add devDependency babel-preset-power-assert.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-babel-preset-power-assert.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    4dad2b4 View commit details
  22. 🤖 chore(package.json): Add devDependency xo.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:add-xo.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    0d1939b View commit details
  23. 🤖 deps: Use regenerator-runtime instead of @babel/polyfill.

    Replace all references to @babel/polyfill by references to regenerator-runtime/runtime.
    
    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/deps:replace-scoped-babel-polyfill-with-regenerator-runtime.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    fed7765 View commit details
  24. 🤖 chore: Add build-docs script.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/docs:build-setup.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    db1c1a9 View commit details
  25. 🤖 cleaning(package.json): Remove esdoc script.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/docs:remove-esdoc-script.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    a867a0a View commit details
  26. 🤖 docs: Reference regenerator-runtime instead of @babel/polyfill.

    Replace all references to @babel/polyfill by references to regenerator-runtime/runtime.
    
    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/docs:replace-scoped-babel-polyfill-with-regenerator-runtime.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    a7948f0 View commit details
  27. 🤖 docs: Correctly import regenerator/runtime.

    This is needed because the new ESM import syntax requires full paths.
    
    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/docs:import-regenerator-runtime-the-esm-way.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    c378b0d View commit details
  28. 🤖 config(github): Configure workflow to automate gh-pages generation.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/github:workflow-configure-gh-pages.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    eed7a25 View commit details
  29. 🤖 config(git-hooks): Setup husky.

    These changes were automatically generated by a transform whose code can be found at:
      - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/husky:configure.js
    Please contact the author of the transform if you believe there was an error.
    a-flying-potato authored and make-github-pseudonymous-again committed Mar 25, 2021
    Copy the full SHA
    8c50b5f View commit details
Showing with 11,511 additions and 2,984 deletions.
  1. +0 −6 .codacy.yml
  2. +4 −6 .codeclimate.yml
  3. +3 −0 .commitlintrc.js
  4. +55 −0 .esdoc.json
  5. +72 −0 .fixpackrc
  6. +23 −0 .github/workflows/gh-pages.yml
  7. +9 −3 .gitignore
  8. +1 −0 .husky/.gitignore
  9. +52 −0 .husky/commit-msg
  10. +4 −0 .husky/pre-commit
  11. +10 −13 .travis.yml
  12. +24 −11 README.md
  13. +1 −0 doc/manual/example.md
  14. +1 −0 doc/manual/overview.md
  15. +3 −3 doc/manual/usage.md
  16. +18 −22 doc/scripts/header.js
  17. +0 −21 esdoc.json
  18. +0 −9 lib/arithmetic/add.js
  19. +0 −9 lib/arithmetic/constants/add1.js
  20. +0 −9 lib/arithmetic/constants/div2.js
  21. +0 −9 lib/arithmetic/constants/iadd1.js
  22. +0 −9 lib/arithmetic/constants/idiv2.js
  23. +0 −9 lib/arithmetic/constants/imul2.js
  24. +0 −9 lib/arithmetic/constants/imul5.js
  25. +0 −126 lib/arithmetic/constants/index.js
  26. +0 −9 lib/arithmetic/constants/isub1.js
  27. +0 −9 lib/arithmetic/constants/mul2.js
  28. +0 −9 lib/arithmetic/constants/mul5.js
  29. +0 −9 lib/arithmetic/constants/sub1.js
  30. +0 −9 lib/arithmetic/div.js
  31. +0 −9 lib/arithmetic/divmod.js
  32. +0 −9 lib/arithmetic/iadd.js
  33. +0 −9 lib/arithmetic/idiv.js
  34. +0 −13 lib/arithmetic/idivmod.js
  35. +0 −9 lib/arithmetic/imod.js
  36. +0 −9 lib/arithmetic/imul.js
  37. +0 −258 lib/arithmetic/index.js
  38. +0 −9 lib/arithmetic/ishl.js
  39. +0 −9 lib/arithmetic/ishr.js
  40. +0 −9 lib/arithmetic/ishu.js
  41. +0 −9 lib/arithmetic/isub.js
  42. +0 −9 lib/arithmetic/mod.js
  43. +0 −9 lib/arithmetic/mul.js
  44. +0 −9 lib/arithmetic/neg.js
  45. +0 −9 lib/arithmetic/shl.js
  46. +0 −9 lib/arithmetic/shr.js
  47. +0 −9 lib/arithmetic/shu.js
  48. +0 −9 lib/arithmetic/special/div2n.js
  49. +0 −18 lib/arithmetic/special/index.js
  50. +0 −9 lib/arithmetic/sub.js
  51. +0 −9 lib/compare/decreasing.js
  52. +0 −9 lib/compare/increasing.js
  53. +0 −30 lib/compare/index.js
  54. +0 −9 lib/constants/$0.js
  55. +0 −9 lib/constants/$1.js
  56. +0 −9 lib/constants/$2.js
  57. +0 −9 lib/constants/$5.js
  58. +0 −9 lib/constants/$_1.js
  59. +0 −66 lib/constants/index.js
  60. +0 −30 lib/exponential/constants/index.js
  61. +0 −9 lib/exponential/constants/ipow2.js
  62. +0 −9 lib/exponential/constants/pow2.js
  63. +0 −7 lib/exponential/exp.js
  64. +0 −54 lib/exponential/index.js
  65. +0 −7 lib/exponential/pow.js
  66. +0 −7 lib/exponential/sqrt.js
  67. +0 −114 lib/index.js
  68. +0 −30 lib/io/index.js
  69. +0 −9 lib/io/parse.js
  70. +0 −9 lib/io/stringify.js
  71. +0 −78 lib/logarithmic/index.js
  72. +0 −9 lib/logarithmic/log.js
  73. +0 −9 lib/logarithmic/log2.js
  74. +0 −9 lib/logarithmic/loge.js
  75. +0 −9 lib/logarithmic/loglog.js
  76. +0 −9 lib/logarithmic/loglog2.js
  77. +0 −9 lib/logarithmic/logloge.js
  78. +0 −9 lib/memory/copy.js
  79. +0 −18 lib/memory/index.js
  80. +0 −9 lib/predicate/constants/eq0.js
  81. +0 −9 lib/predicate/constants/eq1.js
  82. +0 −9 lib/predicate/constants/eq_1.js
  83. +0 −9 lib/predicate/constants/ge1.js
  84. +0 −9 lib/predicate/constants/gt0.js
  85. +0 −9 lib/predicate/constants/gt1.js
  86. +0 −102 lib/predicate/constants/index.js
  87. +0 −9 lib/predicate/constants/le1.js
  88. +0 −9 lib/predicate/constants/lt1.js
  89. +0 −9 lib/predicate/eq.js
  90. +0 −9 lib/predicate/ge.js
  91. +0 −9 lib/predicate/gt.js
  92. +0 −90 lib/predicate/index.js
  93. +0 −9 lib/predicate/le.js
  94. +0 −9 lib/predicate/lt.js
  95. +0 −9 lib/predicate/ne.js
  96. +0 −7 lib/trigonometry/PI.js
  97. +0 −7 lib/trigonometry/atan2.js
  98. +0 −7 lib/trigonometry/cos.js
  99. +0 −54 lib/trigonometry/index.js
  100. +0 −7 lib/trigonometry/sin.js
  101. +201 −40 package.json
  102. +5 −0 renovate.json
  103. +1 −1 src/arithmetic/add.js
  104. +1 −1 src/arithmetic/constants/add1.js
  105. +1 −1 src/arithmetic/constants/div2.js
  106. +1 −1 src/arithmetic/constants/iadd1.js
  107. +1 −1 src/arithmetic/constants/idiv2.js
  108. +1 −1 src/arithmetic/constants/imul2.js
  109. +1 −1 src/arithmetic/constants/imul5.js
  110. +0 −10 src/arithmetic/constants/index.js
  111. +1 −1 src/arithmetic/constants/isub1.js
  112. +1 −1 src/arithmetic/constants/mul2.js
  113. +1 −1 src/arithmetic/constants/mul5.js
  114. +1 −1 src/arithmetic/constants/sub1.js
  115. +1 −1 src/arithmetic/div.js
  116. +1 −1 src/arithmetic/divmod.js
  117. +1 −1 src/arithmetic/iadd.js
  118. +1 −1 src/arithmetic/idiv.js
  119. +3 −5 src/arithmetic/idivmod.js
  120. +1 −1 src/arithmetic/imod.js
  121. +1 −1 src/arithmetic/imul.js
  122. +0 −21 src/arithmetic/index.js
  123. +1 −1 src/arithmetic/ishl.js
  124. +1 −1 src/arithmetic/ishr.js
  125. +1 −1 src/arithmetic/ishu.js
  126. +1 −1 src/arithmetic/isub.js
  127. +1 −1 src/arithmetic/mod.js
  128. +1 −1 src/arithmetic/mul.js
  129. +1 −1 src/arithmetic/neg.js
  130. +1 −1 src/arithmetic/shl.js
  131. +1 −1 src/arithmetic/shr.js
  132. +1 −1 src/arithmetic/shu.js
  133. +1 −1 src/arithmetic/special/div2n.js
  134. +0 −1 src/arithmetic/special/index.js
  135. +1 −1 src/arithmetic/sub.js
  136. +1 −1 src/compare/decreasing.js
  137. +1 −1 src/compare/increasing.js
  138. +0 −2 src/compare/index.js
  139. +1 −1 src/constants/$0.js
  140. +1 −1 src/constants/$1.js
  141. +1 −1 src/constants/$2.js
  142. +1 −1 src/constants/$5.js
  143. +1 −1 src/constants/$_1.js
  144. +0 −5 src/constants/index.js
  145. +0 −2 src/exponential/constants/index.js
  146. +1 −1 src/exponential/constants/ipow2.js
  147. +1 −1 src/exponential/constants/pow2.js
  148. +1 −1 src/exponential/exp.js
  149. +0 −4 src/exponential/index.js
  150. +1 −1 src/exponential/pow.js
  151. +1 −1 src/exponential/sqrt.js
  152. +69 −9 src/index.js
  153. +0 −2 src/io/index.js
  154. +1 −1 src/io/parse.js
  155. +1 −1 src/io/stringify.js
  156. +0 −6 src/logarithmic/index.js
  157. +1 −1 src/logarithmic/log.js
  158. +1 −1 src/logarithmic/log2.js
  159. +1 −1 src/logarithmic/loge.js
  160. +2 −1 src/logarithmic/loglog.js
  161. +1 −1 src/logarithmic/loglog2.js
  162. +1 −1 src/logarithmic/logloge.js
  163. +1 −1 src/memory/copy.js
  164. +0 −1 src/memory/index.js
  165. +1 −1 src/predicate/constants/eq0.js
  166. +1 −1 src/predicate/constants/eq1.js
  167. +1 −1 src/predicate/constants/eq_1.js
  168. +1 −1 src/predicate/constants/ge1.js
  169. +1 −1 src/predicate/constants/gt0.js
  170. +1 −1 src/predicate/constants/gt1.js
  171. +0 −8 src/predicate/constants/index.js
  172. +1 −1 src/predicate/constants/le1.js
  173. +1 −1 src/predicate/constants/lt1.js
  174. +1 −1 src/predicate/eq.js
  175. +1 −1 src/predicate/ge.js
  176. +1 −1 src/predicate/gt.js
  177. +0 −7 src/predicate/index.js
  178. +1 −1 src/predicate/le.js
  179. +1 −1 src/predicate/lt.js
  180. +1 −1 src/predicate/ne.js
  181. +1 −1 src/trigonometry/PI.js
  182. +1 −1 src/trigonometry/atan2.js
  183. +1 −1 src/trigonometry/cos.js
  184. +0 −4 src/trigonometry/index.js
  185. +1 −1 src/trigonometry/sin.js
  186. +31 −25 test/src/arithmetic/add.js
  187. +12 −16 test/src/arithmetic/constants/add1.js
  188. +12 −14 test/src/arithmetic/constants/div2.js
  189. +13 −19 test/src/arithmetic/constants/iadd1.js
  190. +13 −17 test/src/arithmetic/constants/idiv2.js
  191. +15 −19 test/src/arithmetic/constants/imul2.js
  192. +15 −19 test/src/arithmetic/constants/imul5.js
  193. +13 −19 test/src/arithmetic/constants/isub1.js
  194. +14 −16 test/src/arithmetic/constants/mul2.js
  195. +14 −16 test/src/arithmetic/constants/mul5.js
  196. +12 −16 test/src/arithmetic/constants/sub1.js
  197. +23 −25 test/src/arithmetic/div.js
  198. +14 −16 test/src/arithmetic/divmod.js
  199. +31 −25 test/src/arithmetic/iadd.js
  200. +23 −27 test/src/arithmetic/idiv.js
  201. +16 −20 test/src/arithmetic/idivmod.js
  202. +15 −19 test/src/arithmetic/imod.js
  203. +23 −27 test/src/arithmetic/imul.js
  204. +10 −14 test/src/arithmetic/ishl.js
  205. +10 −14 test/src/arithmetic/ishr.js
  206. +10 −14 test/src/arithmetic/ishu.js
  207. +21 −25 test/src/arithmetic/isub.js
  208. +14 −17 test/src/arithmetic/mod.js
  209. +20 −22 test/src/arithmetic/mul.js
  210. +12 −14 test/src/arithmetic/neg.js
  211. +9 −13 test/src/arithmetic/shl.js
  212. +9 −13 test/src/arithmetic/shr.js
  213. +9 −13 test/src/arithmetic/shu.js
  214. +13 −15 test/src/arithmetic/special/div2n.js
  215. +27 −19 test/src/arithmetic/sub.js
  216. +10 −9 test/src/compare/decreasing.js
  217. +10 −9 test/src/compare/increasing.js
  218. +15 −17 test/src/constants/all.js
  219. +15 −19 test/src/exponential/constants/ipow2.js
  220. +14 −18 test/src/exponential/constants/pow2.js
  221. +12 −14 test/src/exponential/exp.js
  222. +17 −19 test/src/exponential/pow.js
  223. +14 −18 test/src/exponential/sqrt.js
  224. +12 −14 test/src/io/parse.js
  225. +12 −14 test/src/io/stringify.js
  226. +19 −21 test/src/logarithmic/log.js
  227. +12 −14 test/src/logarithmic/log2.js
  228. +11 −13 test/src/logarithmic/loge.js
  229. +26 −27 test/src/logarithmic/loglog.js
  230. +16 −20 test/src/logarithmic/loglog2.js
  231. +16 −21 test/src/logarithmic/logloge.js
  232. +18 −23 test/src/memory/copy.js
  233. +12 −14 test/src/predicate/constants/ge1.js
  234. +12 −14 test/src/predicate/constants/gt0.js
  235. +12 −14 test/src/predicate/constants/gt1.js
  236. +12 −14 test/src/predicate/constants/le1.js
  237. +12 −14 test/src/predicate/constants/lt1.js
  238. +17 −19 test/src/predicate/eq.js
  239. +20 −22 test/src/predicate/ge.js
  240. +17 −19 test/src/predicate/gt.js
  241. +17 −19 test/src/predicate/le.js
  242. +17 −19 test/src/predicate/lt.js
  243. +17 −19 test/src/predicate/ne.js
  244. +17 −0 tsconfig.json
  245. +9,980 −0 yarn.lock
6 changes: 0 additions & 6 deletions .codacy.yml

This file was deleted.

10 changes: 4 additions & 6 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
languages:
JavaScript: true
exclude_paths:
- "doc/**/*.js"
- "test/**/*.js"
- "lib/**/*.js"
exclude_patterns:
- doc/**
- dist/**
- test/**
3 changes: 3 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@js-library']
};
55 changes: 55 additions & 0 deletions .esdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"source": "./src",
"destination": "./gh-pages",
"debug": false,
"index": "./README.md",
"package": "./package.json",
"plugins": [
{
"name": "esdoc-standard-plugin",
"option": {
"accessor": {
"access": [
"public",
"protected",
"private"
],
"autoPrivate": true
},
"brand": {
"title": "@aureooms/js-number"
},
"test": {
"type": "ava",
"source": "./test/src"
},
"manual": {
"files": [
"./doc/manual/overview.md",
"./doc/manual/installation.md",
"./doc/manual/usage.md",
"./doc/manual/example.md"
]
}
}
},
{
"name": "esdoc-inject-style-plugin",
"option": {
"enable": true,
"styles": [
"./doc/css/style.css"
]
}
},
{
"name": "esdoc-inject-script-plugin",
"option": {
"enable": true,
"scripts": [
"./doc/scripts/header.js"
]
}
}
]
}
72 changes: 72 additions & 0 deletions .fixpackrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"files": [
"package.json"
],
"quiet": false,
"required": [
"name",
"version"
],
"requiredOnPrivate": [],
"sortToTop": [
"name",
"description",
"version",
"license",
"author",
"homepage",
"repository",
"bugs",
"keywords",
"sideEffects",
"type",
"source",
"main",
"module",
"umd:main",
"unpkg",
"exports",
"files",
"scripts",
"bundledDependencies",
"dependencies",
"optionalDependencies",
"peerDependencies",
"peerDependenciesMeta",
"devDependencies"
],
"sortedSubItems": [
"keywords",
"exports",
"files",
"scripts",
"bundledDependencies",
"dependencies",
"optionalDependencies",
"peerDependencies",
"peerDependenciesMeta",
"devDependencies"
],
"warn": [
"description",
"author",
"repository",
"keywords",
"main",
"bugs",
"homepage",
"license",
"files"
],
"warnOnPrivate": [
"name",
"version",
"description",
"main"
],
"dryRun": false,
"wipe": false,
"indent": null,
"newLine": null,
"finalNewLine": null
}
23 changes: 23 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Deploy GitHub pages
on:
release:
types:
- created
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.4

- name: Install 🔧
run: npm install

- name: Build 🏗️
run: npm run build-gh-pages

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: gh-pages
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# lock file
!yarn.lock

# Generated files
/dist

# Dependency directory
node_modules
jspm_packages

# Coverage directory used by nyc
coverage
.nyc_output
/coverage
/.nyc_output

# Documentation
gh-pages
/gh-pages
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
52 changes: 52 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

function ask () {

# This is a general-purpose function to ask Yes/No questions in Bash, either
# with or without a default answer. It keeps repeating the question until it
# gets a valid answer.

# http://djm.me/ask

if [ "${2:-}" = "Y" ]; then
prompt="Y/n"
default=Y
elif [ "${2:-}" = "N" ]; then
prompt="y/N"
default=N
else
prompt="y/n"
default=
fi

while true; do

# Ask the question (not using "read -p" as it uses stderr not stdout)
echo -n "$1 [$prompt] "

# Read the answer (use /dev/tty in case stdin is redirected from somewhere else)
read REPLY </dev/tty

# Default?
if [ -z "$REPLY" ]; then
REPLY=$default
fi

# Check if the reply is valid
case "$REPLY" in
Y*|y*) return 0 ;;
N*|n*) return 1 ;;
esac

done

}

while ! npm run commit-msg -- "$1" ; do
if [ -t 1 ] && ask 'There was an error. Do you wish to amend your commit message?' Y ; then
${GIT_EDITOR:-$EDITOR} "$1" < /dev/tty
else
exit 1
fi
done
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run precommit
23 changes: 10 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
env:
- CXX=g++-4.8

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

language: node_js

node_js:
@@ -16,10 +6,17 @@ node_js:
install:
- npm install

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- npm run cover
- npm run travis

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

after_success:
- bash <(curl -s https://codecov.io/bash) || true
- bash <(curl -s https://codecov.io/bash) || true
- coveralls < coverage/lcov.info || true
- codeclimate-test-reporter < coverage/lcov.info || true
35 changes: 24 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
[@aureooms/js-number](https://aureooms.github.io/js-number)
:1234: [@aureooms/js-number](https://aureooms.github.io/js-number)
==

<img src="https://upload.wikimedia.org/wikipedia/commons/3/39/Latex_real_numbers.svg" width="864">
<p align="center">
<a href="https://commons.wikimedia.org/wiki/File:Latex_real_numbers.svg">
<img src="https://upload.wikimedia.org/wikipedia/commons/3/39/Latex_real_numbers.svg" width="300">
</a><br/>
<a href="https://en.wikipedia.org/wiki/User:Arichnad">
User:Arichnad
</a>
/
<a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>
</p>

Primitive number type arithmetic for JavaScript.
See [docs](https://aureooms.github.io/js-number).
@@ -11,13 +20,17 @@ Parent is [aureooms/js-library](https://github.com/aureooms/js-library).
mul( 6 , 7 ) ; // 42
```

[![License](https://img.shields.io/github/license/aureooms/js-number.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-number/master/LICENSE)
[![NPM version](https://img.shields.io/npm/v/@aureooms/js-number.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-number)
[![Build Status](https://img.shields.io/travis/aureooms/js-number.svg?style=flat)](https://travis-ci.org/aureooms/js-number)
[![Coverage Status](https://img.shields.io/coveralls/aureooms/js-number.svg?style=flat)](https://coveralls.io/r/aureooms/js-number)
[![Dependencies Status](https://img.shields.io/david/aureooms/js-number.svg?style=flat)](https://david-dm.org/aureooms/js-number#info=dependencies)
[![devDependencies Status](https://img.shields.io/david/dev/aureooms/js-number.svg?style=flat)](https://david-dm.org/aureooms/js-number#info=devDependencies)
[![Code Climate](https://img.shields.io/codeclimate/github/aureooms/js-number.svg?style=flat)](https://codeclimate.com/github/aureooms/js-number)
[![NPM downloads per month](https://img.shields.io/npm/dm/@aureooms/js-number.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-number)
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-number.svg?style=flat)](https://github.com/aureooms/js-number/issues)
[![License](https://img.shields.io/github/license/aureooms/js-number.svg)](https://raw.githubusercontent.com/aureooms/js-number/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@aureooms/js-number.svg)](https://www.npmjs.org/package/@aureooms/js-number)
[![Build](https://img.shields.io/travis/aureooms/js-number/main.svg)](https://travis-ci.com/aureooms/js-number/branches)
[![Dependencies](https://img.shields.io/david/aureooms/js-number.svg)](https://david-dm.org/aureooms/js-number)
[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-number.svg)](https://david-dm.org/aureooms/js-number?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-number.svg)](https://github.com/aureooms/js-number/issues)
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-number.svg)](https://www.npmjs.org/package/@aureooms/js-number)

[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-number.svg)](https://codeclimate.com/github/aureooms/js-number/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/aureooms/js-number.svg)](https://codeclimate.com/github/aureooms/js-number/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/aureooms/js-number/main.svg)](https://codecov.io/gh/aureooms/js-number)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-number.svg)](https://codeclimate.com/github/aureooms/js-number/trends/technical_debt)
[![Documentation](https://aureooms.github.io/js-number/badge.svg)](https://aureooms.github.io/js-number/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-number)](https://bundlephobia.com/result?p=@aureooms/js-number)
1 change: 1 addition & 0 deletions doc/manual/example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Examples
1 change: 1 addition & 0 deletions doc/manual/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
6 changes: 3 additions & 3 deletions doc/manual/usage.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Usage

The code needs a ES2015+ polyfill to work, for example
[babel-polyfill](https://babeljs.io/docs/usage/polyfill).
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
```js
require( 'babel-polyfill' ) ;
require( 'regenerator-runtime/runtime' ) ;
// or
import 'babel-polyfill' ;
import 'regenerator-runtime/runtime.js' ;
```

Then
Loading