.TH "ieeeck" 3 "Wed Feb 7 2024 11:30:40" "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME ieeeck \- ieeeck: verify inf and NaN are safe .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "integer function \fBieeeck\fP (ispec, zero, one)" .br .RI "\fBIEEECK\fP " .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "integer function ieeeck (integer ispec, real zero, real one)" .PP \fBIEEECK\fP .PP \fBPurpose:\fP .RS 4 .PP .nf IEEECK is called from the ILAENV to verify that Infinity and possibly NaN arithmetic is safe (i\&.e\&. will not trap)\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIISPEC\fP .PP .nf 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\&. .fi .PP .br \fIZERO\fP .PP .nf ZERO is REAL Must contain the value 0\&.0 This is passed to prevent the compiler from optimizing away this code\&. .fi .PP .br \fIONE\fP .PP .nf 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 .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.