Zilog ZUSBOPTS Manual de usuario Pagina 469

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 520
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 468
UM017105-0511 Standard Functions
Zilog Developer Studio II – ZNEO™
User Manual
441
sinh, sinhf
Computes the hyperbolic sine of x. A range error occurs if the magnitude of x is too large.
Synopsis
#include <math.h>
double sinh(double x);
float sinhf(float x);
Returns
The hyperbolic sine value.
Example
double x=1.24;
double y;
y=sinh(x);
sprintf
The sprintf function is equivalent to printf, except that the argument s specifies an
array into which the generated output is to be written, rather than to a stream. A null char-
acter is written at the end of the characters written; it is not counted as part of the returned
sum.
Synopsis
#include <stdio.h>
int sprintf(char *s, const char *format, ...);
Returns
The number of characters written in the array, not counting the terminating null character.
Example
int d=51;
char buf [40];
sprintf(buf,"COMPASS/%d",d);
sqrt, sqrtf
Computes the non-negative square root of x. A domain error occurs if the argument is
negative.
Vista de pagina 468
1 2 ... 464 465 466 467 468 469 470 471 472 473 474 ... 519 520

Comentarios a estos manuales

Sin comentarios