Analog Devices VISUALDSP++ 3.5 Manual page 331

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

u.l=0x7F800000L; if ( isinf(u.d)==0 ) fail++;
u.l=0x7F800001L; if ( isinf(u.d)!=0 ) fail++;
#endif
/* test int isinff(float) */
u.l=0xFF800000L; if ( isinff(u.f)==0 ) fail++;
u.l=0xFF800001L; if ( isinff(u.f)!=0 ) fail++;
u.l=0x7F800000L; if ( isinff(u.f)==0 ) fail++;
u.l=0x7F800001L; if ( isinff(u.f)!=0 ) fail++;
/* print pass/fail message */
if ( fail==0 )
printf("Test passed\n");
else
printf("Test failed: %d\n", fail);
}
See Also
isnan
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
C/C++ Run-Time Library
3-77

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents