- Full support for 32 bit floating point arithmetic.
This implementation is compliant with the IEEE-754 standard on floating point representation, but NAN and INF are not supported. This design choice has been made to reduce the size of code. The core floating-point library2 has been carfully written in assembly language, so this implementation is likely to be fast. The FP library is provided as a separate library (float.slb).
- Support for IO on floating point data
The printf and scanf have been updated for this purpose and new format spécifications (%e
and %f
with user-selectable precision) have been introduced . Like for 32 bit integers, this support must be enabled to be active, so people who do not use FP arithmetic will not be penalized.
New IO functions for floating point are also provided.
- Math library
This implementation of the math library is written in C and provides 22 usual functions for floating point calculation.
- Standard library
This is a first implementation of stdlib that contains 10 usual functions.
- Functions with variable argument-list
This a fully compliant implementation of the ANSI standard about functions with variable argument lists, using the «...» syntax.
The standard header (stdarg.h) provides the necessary va_xxx
macros.
- errno support
The unix low-level mechanism for reporting errors during math or IO operation is supported, and the standard errno.h
header is provided.
- New command line option
The traditionnal «-D» switch allows to pass macro definitions to the preprocessor.
- Minor bug fixes
AG
2013-04-10