Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
IEEE_TEST(3) OpenBSD Programmer's Manual IEEE_TEST(3)
NAME
logb, logbf, scalb, scalbf, significand, significandf - IEEE test func-
tions
SYNOPSIS
#include <math.h>
double
logb(double x);
float
logbf(float x);
double
scalb(double x, double n);
float
scalbf(float x, float n);
double
significand(double x);
float
significandf(float x);
DESCRIPTION
These functions allow users to test conformance to IEEE Std754-1985.
Their use is not otherwise recommended.
logb(x) returns x's exponent n, a signed integer converted to double-pre-
cision floating-point. logb(+-infinity) = +infinity; logb(0) = -infinity
with a division by zero exception.
scalbn(x, n) returns x*(2**n) computed by exponent manipulation.
significand(x) returns sig, where x := sig * 2**n with 1 <= sig < 2.
significand(x) is not defined when x is 0, +-infinity, or NaN.
SEE ALSO
ieee(3), math(3)
STANDARDS
IEEE Std754-1985
OpenBSD 2.6 March 10, 1994 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for ieee_test(3) functions OpenBSD sources for ieee_test(3)
Up to: Floating point math - Floating point math (including complex numbers)
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
ieee_test.3/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|