Back to index

glibc  2.9
Functions
tst-definitions.c File Reference
#include <limits.h>
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int main (void)

Function Documentation

int main ( void  )

Definition at line 26 of file tst-definitions.c.

{
  int result = 0;

  if (FP_ILOGB0 != INT_MIN && FP_ILOGB0 != -INT_MAX)
    {
      puts ("FP_ILOGB0 has no valid value");
      result = 1;
    }
  else
    puts ("FP_ILOGB0 value is OK");

  if (FP_ILOGBNAN != INT_MIN && FP_ILOGBNAN != INT_MAX)
    {
      puts ("FP_ILOBNAN has no valid value");
      result = 1;
    }
  else
    puts ("FP_ILOGBNAN value is OK");

  return result;
}

Here is the call graph for this function: