| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 
 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\" Based on glibc infopages
.\"
.\" Corrections by aeb
.\"
.\" Traducido por Miguel Pérez Ibars <mpi79470@alu.um.es> el 9-agosto-2004
.\"
.TH  NAN 3 "10 agosto 2002" "GNU" "funciones matemáticas de libc"
.SH NOMBRE
nan, nanf, nanl \- devuelven 'Not a Number'
.SH SINOPSIS
.B #include <math.h>
.sp
.BI "double nan(const char *" tagp );
.sp
.BI "float nanf(const char *" tagp );
.sp
.BI "long double nanl(const char *" tagp );
.SH DESCRIPCIÓN
Estas funciones devuelven una representación (determinada por
.IR tagp )
de un NaN privado. Si la implementación no soporta NaNs privados,
estas funciones devuelven cero.
.LP
La llamada
.I nan("secuencia-de-caracteres")
es equivalente a
.I strtod ("NAN(secuencia-de-caracteres)",NULL)
y similarmente las llamadas 
.I nanf
y
.I nanl
son equivalentes a las llamadas análogas
.I strtof
y
.IR strtold .
.PP
El argumento
.I tagp
se utiliza de manera indefinida. En sistemas IEEE 754, hay muchas
representaciones de NaN y
.I tagp
escoge una. En otros sistemas puede que no haga nada.
.SH "CONFORME A"
C99. Vea también IEC 559 y el apéndice con funciones recomendadas
de IEEE 754/IEEE 854.
.SH "VÉASE TAMBIÉN"
.BR isnan (3),
.BR strtod (3)
 |