Solid Fluid System Solutions  
Home Software About Hardware Firmware

Document Icon VConsole (Library)
Document Icon Crypto
Document Icon Archive
Document Icon Container
Document Icon Pipe
Document Icon Compress
Current Document Icon Math
Document Icon Vector
Document Icon DateTime
Document Icon List/Array
Document Icon HashIntegerFloat
Document Icon Database
Document Icon Thread
Document Icon String
Document Icon Machine
Document Icon Regex
Document Icon SGMLParse
Document Icon HTTPHeader
Document Icon Comm
Document Icon Collab
Document Icon HierAgent
Document Icon Resource
Document Icon Colour
Document Icon Image

Math

The math group provides inline functions for working with floating point numbers. It aims to control Epsilon (the precision of the number) in order to allow rational computation of the binary boolean comparison operators. It also provides for discontinuous mathematical operators, floor(), ciel(), round() and so on.

Math provides a very fast integer square root, compatible with a 32 bit unsigned argument.

A class for the management of complex numbers, with standard complex operators, is available.

A class is available for storage and manipulation of large integers. A comprehensive range of operators is available. The length (bit size) of such integers is limited only by the compute power available on the target hardware. The module does not currently use MMX, but it's use has been identified as beneficial. Prototype implementations of the MMX extensions have been tested. The extensions are avoided (currently) for reasons of source code compatibility.

Classes for managing numeric ranges are available  for each of the basic types, including floating point. These classes allow 1 dimensional ranges to be specified and interfered.

Copyright © Solid Fluid 2007-2022
Last modified: SolFlu  Sun, 07 Jun 2009 17:51:40 GMT