math.parser: Add Dragonbox float representation algorithm * Remove fmtlib * Simplify `format-float`, rename to `format-float*` * Change format: - no trailing zeroes in exponential format - no plus in exponents - no exponential format if the decimal representation of the significand has 17 digits or less
vm: use the ``fmt`` library to fix shortest decimal representation issue. Before: IN: scratchpad 0x1.1ffffffffffffp7 . 144.0 IN: scratchpad 0x1.2p7 . 144.0 IN: scratchpad 0x1.2000000000001p7 . 144.0 After: IN: scratchpad 0x1.1ffffffffffffp7 . 143.99999999999997 IN: scratchpad 0x1.2p7 . 144.0 IN: scratchpad 0x1.2000000000001p7 . 144.00000000000003 Perhaps we should implement the Dragonbox algorithm ourselves at some point.
Remove implicit dependency on gcc for preprocessing, which is not needed. This fixes the build on Cygwin and any other platform that uses crosscompilation.
GNUmakefile: adding help
build.sh: support arm32
GNUmakefile: prefer clang if it exists
Version bump to 0.100
GNUmakefile: add 'help' to the list of phony targets
GNUmakefile: Fix check for fsanitize..
GNUmakefile: Add support for -fsanitize=address etc option.
GNUmakefile: Enable -Wextra
GNUMakefile: use $BUNDLE name.
makefile: Fix macosx target.
vm: Make macos almost compile. To fully compile mach_signal.cpp needs a fix.
GNUMakefile: Add linux and macos arm64 targets.
macos32: Lock to 10.11 for build machine. 32bit macos has been deprectated and 10.13 does not seem have i386 libraries anymore.
make: Allow overriding macosx sdk MACOSX_SDK=MacOSX10.11.sdk ./build.sh update macosx-x86-32
make: Use the MacOSX 10.13 SDK for x86 support. Bugfix - CFLAGS += instead of CFLAGS = because it would get overwritten otherwise. Also allow overwriting of XCODE_PATH for non-standard path. Download the 10.13 SDK from https://github.com/phracker/MacOSX-SDKs/releases ```bash wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.13.sdk.tar.xz xz --uncompress MacOSX10.13.sdk.tar.xz tar xvf MacOSX10.13.sdk.tar mv MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ ```
debian: Don't install gcc g++ on debian. gmake assumes default CC is cc, CXX is g++ (not c++). In order to make this sane (c++), we check if the shell variable CXX was set and if so we honor it, else we set CXX to c++.
make: We don't need the flag.