Support for floating point modulus has been added to DWScript, it extends the “mod” operator to accept floats. You can now have scripts with code like r := a mod PI; On x86 CPUs, the implementation will use the FPREM CPU instruction, which provides a relatively high precision (much ...
More...