delorie.com/djgpp/doc/libc/libc_594.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

nanl

Syntax

 
#include <math.h>

long double nanl(const char *tagp);

Description

nanl returns a quiet NaN with contents indicated by tagp.

Return Value

The quiet NaN.

If quiet NaNs are not supported, zero is returned. DJGPP supports quiet NaNs.

Portability

ANSI/ISO C C99; not C89

Example

 
long double ld = nanl("0x1234");

  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004