ARM VERSION 1.2 Fiche technique Page 182

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 276
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 181
The C and C++ Libraries
4-92 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
Mathematical functions
The mathematical functions shown in Table 4-17, when supplied with out-of-range
arguments, respond in the way shown.
Table 4-17 Mathematical functions
Function Condition Returned value Error number
acos(x) abs(x) > 1 QNaN EDOM
asin(x) abs(x) > 1 QNaN EDOM
atan2(x,y) x =0, y = 0 QNaN EDOM
atan2(x,y) x = Inf, y = Inf QNaN EDOM
cos(x) x=Inf QNaN EDOM
cosh(x)
Overflow
+Inf ERANGE
exp(x)
Overflow
+Inf ERANGE
exp(x)
Underflow
+0 ERANGE
fmod(x,y) x=Inf QNaN EDOM
fmod(x,y) y = 0 QNaN EDOM
log(x) x < 0 QNaN EDOM
log(x) x = 0 -Inf EDOM
log10(x) x < 0 QNaN EDOM
log10(x) x = 0 -Inf EDOM
pow(x,y)
Overflow
+Inf ERANGE
pow(x,y)
Underflow
0 ERANGE
pow(x,y) x=0 or x=Inf, y=0 +1 EDOM
pow(x,y) x=+0, y<0 -Inf EDOM
pow(x,y) x=-0, y<0 and y integer -Inf EDOM
pow(x,y) x= -0, y<0 and y noninteger QNaN EDOM
pow(x,y) x<0, y noninteger QNaN EDOM
pow(x,y) x=1, y=Inf QNaN EDOM
Vue de la page 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 275 276

Commentaires sur ces manuels

Pas de commentaire