int isunordered(a, b): Returns 1 if a and b are unordered relative to each other; zero is returned if a and b are ordered. : isunordered « math.h « C Tutorial






#include <stdio.h>
#include <math.h>

int main(void)
{
  printf("isunordered(1.0, 2.0) %d\n", isunordered(1.0, 2.0));
  printf("isunordered(1.0, 1.0) %d\n", isunordered(1.0, 1.0));
  printf("isunordered(2.0, 1.0) %d\n", isunordered(2.0, 1.0));
  return 0;
}
isunordered(1.0, 2.0) 0
isunordered(1.0, 1.0) 0
isunordered(2.0, 1.0) 0








19.39.isunordered
19.39.1.int isunordered(a, b): Returns 1 if a and b are unordered relative to each other; zero is returned if a and b are ordered.