library.ieee Submodule

Module Summary

Interfaces for the NAG Mark 30.0 ieee Chapter.

ieee - IEEE Arithmetic

This module provides functions to handle various aspects of IEEE floating-point arithmetic behaviour.

Functionality Index

Create a floating-point infinity: create_infinity()

Create a floating-point NaN (Not a Number): create_nan()

Determine whether a floating-point number is finite: is_finite()

Determine whether a floating-point number is NaN (Not a Number): is_nan()

Get current behaviour of floating-point exceptions: get_exception_mode()

Set behaviour of floating-point exceptions: set_exception_mode()

For full information please refer to the NAG Library document

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/x07/x07intro.html