mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
* allow binary, octal, and hex literals as in JS (0b, 0o, 0x) * add tests * fix lint issues * add notation for binary, octal, and hex in formatNumber * remove the extra format notations * add bin, oct, and hex functions for formatting * move bin, oct, and hex from base.js to their own files, fixed built test error about documentation * parse and format treat values as 32 bit signed 2s complement integers * add section in syntax documentation * typo Co-authored-by: Jos de Jong <wjosdejong@gmail.com>