logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ieeeck - ieeeck: verify inf and NaN are safe

Author

Generated automatically by Doxygen for LAPACK from the source code. Version 3.12.0 Sun Jul 20 2025 01:40:05 ieeeck(3)

Detailed Description

Function Documentation

integerfunctionieeeck(integerispec,realzero,realone)IEEECKPurpose: IEEECK is called from the ILAENV to verify that Infinity and possibly NaN arithmetic is safe (i.e. will not trap). ParametersISPEC ISPEC is INTEGER Specifies whether to test just for infinity arithmetic or whether to test for infinity and NaN arithmetic. = 0: Verify infinity arithmetic only. = 1: Verify infinity and NaN arithmetic. ZERO ZERO is REAL Must contain the value 0.0 This is passed to prevent the compiler from optimizing away this code. ONE ONE is REAL Must contain the value 1.0 This is passed to prevent the compiler from optimizing away this code. RETURN VALUE: INTEGER = 0: Arithmetic failed to produce the correct answers = 1: Arithmetic produced the correct answers Author Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.

Name

ieeeck - ieeeck: verify inf and NaN are safe

Synopsis

Functions integer function ieeeck (ispec, zero, one) IEEECK

See Also