HP SunSoft Pascal 4.0 Bedienungsanleitung Seite 262

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 333
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 261
238 Pascal 4.0 Users Guide
11
ieee_retrospective()
The libm function ieee_retrospective() prints to stderr information
about unrequited exceptions and nonstandard IEEE modes. Pascal programs
call ieee_retrospective() on exit by default.
SPARC Libraries
The libm and libsunmath libraries also contain:
Argument reduction functions, using infinitely precise Pi and trigonometric
functions scaled in Pi
Data conversion routines for converting floating-point data between IEEE
and non-IEEE formats
Random number generators
There are two facilities for generating uniform pseudo-random numbers,
addrans(3M) and lcrans(3M). addrans is an additive random number
generator; lcrans is a linear congruential random number generator. In
addition, shufrans(3M) shuffles a set of pseudo-random numbers to provide
even more randomness for applications that need it.
program TestIEEEValues(output);
#include "math_p.h"
var
l0: integer32 := 0;
begin
writeln('IEEE values');
writeln(infinity);
writeln(signaling_nan(l0));
writeln(quiet_nan(l0));
writeln(max_normal);
writeln(max_subnormal);
writeln(min_normal);
writeln(min_subnormal);
end.
Seitenansicht 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 332 333

Kommentare zu diesen Handbüchern

Keine Kommentare