A library for Python for fast math on floats.
See the demo for Windows and the demo for Linux.
pip3 install fmathpip3 install git+https://github.com/donno2048/fmathJust replace
from math import sqrt, log2
pow = pow
abs = abs
min = min
max = max
sign = lambda x: x >= 0with
from fmath import sqrt, pow, abs, sign, log2, min, maxand make sure the input is float