#include <stdio.h>
#include <math.h>
int main(void)
{
printf("isnormal(-1.0) %d\n", isnormal(-1.0));
printf("isnormal(1.0) %d\n", isnormal(1.0));
printf("isnormal(0.0) %d\n", isnormal(0.0));
return 0;
}
isnormal(-1.0) 1
isnormal(1.0) 1
isnormal(0.0) 0
19.38.isnormal |
| 19.38.1. | int isnormal(fpval): Returns nonzero if fpval is a normal value. |