Zilog ZUSBOPTS Manuel d'utilisateur Page 444

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 520
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 443
Standard Functions UM017105-0511
416
Zilog Developer Studio II – ZNEO™
User Manual
fabs, fabsf
Computes the absolute value of a floating-point number x.
Synopsis
#include <math.h>
double fabs(double x);
float fabsf(float x);
Returns
The absolute value of x.
Example
double y=6.23;
double x;
x=fabs(y);
floor, floorf
Computes the largest integer not greater than x.
Synopsis
#include <math.h>
double floor(double x);
float floorf(float x);
Returns
The largest integer not greater than x, expressed as a double for floor and expressed as
a
float for floorf.
Example
double y=6.23;
double x;
x=floor(y);
fmod, fmodf
Computes the floating-point remainder of x/y. If the quotient of x/y cannot be represented,
the behavior is undefined.
Vue de la page 443
1 2 ... 439 440 441 442 443 444 445 446 447 448 449 ... 519 520

Commentaires sur ces manuels

Pas de commentaire