Zilog ZUSBOPTS Manual do Utilizador Página 444

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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.
Vista de página 443
1 2 ... 439 440 441 442 443 444 445 446 447 448 449 ... 519 520

Comentários a estes Manuais

Sem comentários