Zilog ZUSBOPTS Uživatelský manuál Strana 468

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 520
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 467
Standard Functions UM017105-0511
440
Zilog Developer Studio II – ZNEO™
User Manual
setjmp
Saves its calling environment in its jmp_buf argument, for later use by the longjmp
function.
Synopsis
#include<setjmp.h>
int setjmp(jmp_buf env);
Returns
If the return is from a direct invocation, the setjmp function returns the value zero. If the
return is from a call to the
longjmp function, the setjmp function returns a nonzero
value.
Example
int i;
jmp_buf env;
i=setjmp(env);
longjmp(env, i);
sin, sinf
Computes the sine of x (measured in radians). A large magnitude argument can yield a
result with little or no significance.
Synopsis
#include <math.h>
double sin(double x);
float sinf(float x);
Returns
The sine value.
Example
double x=1.24;
double y;
y=sin(x);
Zobrazit stránku 467
1 2 ... 463 464 465 466 467 468 469 470 471 472 473 ... 519 520

Komentáře k této Příručce

Žádné komentáře