| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 3: Library Interfaces and Headers Oracle Solaris 11 Information Library |
Library Interfaces and Headers
SMHBA_GetAdapterAttributes(3LIB)
SMHBA_GetAdapterPortAttributes(3LIB)
SMHBA_GetBindingCapability(3LIB)
SMHBA_GetDiscoveredPortAttributes(3LIB)
SMHBA_GetFCPhyAttributes(3LIB)
SMHBA_GetPersistentBinding(3LIB)
SMHBA_GetPortAttributesByWWN(3LIB)
SMHBA_GetProtocolStatistics(3LIB)
SMHBA_GetSASPhyAttributes(3LIB)
SMHBA_GetVendorLibraryAttributes(3LIB)
SMHBA_GetWrapperLibraryAttributes(3LIB)
SMHBA_RegisterForAdapterAddEvents(3LIB)
SMHBA_RegisterForAdapterEvents(3LIB)
SMHBA_RegisterForAdapterPhyStatEvents(3LIB)
SMHBA_RegisterForAdapterPortEvents(3LIB)
SMHBA_RegisterForAdapterPortStatEvents(3LIB)
SMHBA_RegisterForTargetEvents(3LIB)
SMHBA_RemoveAllPersistentBindings(3LIB)
SMHBA_RemovePersistentBinding(3LIB)
- mathematical declarations
#include <math.h>
The <math.h> header includes definitions for the following types:
A real-floating type at least as wide asfloat.
A real-floating type at least as wide asdouble, and at least as wide asfloat_t.
IfFLT_EVAL_METHOD equals 0,float_t anddouble_t arefloat anddouble, respectively.IfFLT_EVAL_METHOD equals 1, they are bothdouble. IfFLT_EVAL_METHOD equals 2,they are both belong double. Other values ofFLT_EVAL_METHOD are implementation-defined.
The <math.h> header provides the following constants. The values are of typedouble and are accurate within the precision of thedouble type.
The base of natural logarithms (e).
The base-2 logarithm ofe.
The base-10 logarithm ofe.
The natural logarithm of 2.
The natural logarithm of 10.
π, the ratio of the circumference of a circle to its diameter.
π/2.
π/4.
1/π.
2/π.
2 over the square root of π.
The positive square root of 2.
The positive square root of 1/2.
The <math.h> header defines the following symbolic constants:
The maximum value of a non-infinite single-precision floating point number.
A positivedouble expression, not necessarily representable as a float. Used as an error value returned by the mathematics library.HUGE_VAL evaluates to +infinity on systems supporting IEEE Std 754-1985.
A positivefloat constant expression. Used as an error value returned by the mathematics library.HUGE_VALF evaluates to +infinity on systems supporting IEEE Std 754-1985.
A positivelong double constant expression. Used as an error value returned by the mathematics library.HUGE_VALL evaluates to +infinity on systems supporting IEEE Std 754-1985.
A constant expression of typefloat representing positive or unsigned infinity, if available; else a positive constant of typefloat that overflows at translation time.
A constant expression of type float representing a quiet NaN. This symbolic constant is only defined if the implementation supports quiet NaNs for thefloat type.
The following macros are defined for number classification. They represent the mutually-exclusivekinds of floating-point values. They expand to integer constant expressions with distinctvalues
FP_INFINITEFP_NANFP_NORMALFP_SUBNORMALFP_ZERO
The following optional macros indicate whether thefma() family of functions arefast compared with direct code:
FP_FAST_FMAFP_FAST_FMAFFP_FAST_FMAL
TheFP_FAST_FMA macro is defined to indicate that thefma() function generallyexecutes about as fast as, or faster than, a multiply and anadd ofdouble operands. The other macros have the equivalent meaning forthefloat andlong double versions.
The following macros expand to integer constant expressions whose values are returnedbyilogb(x) ifx is zero or NaN, respectively. The value ofFP_ILOGB0 is either {INT_MIN} or -{INT_MAX}. The value ofFP_ILOGBNAN is either{INT_MAX} or {INT_MIN}.
FP_ILOGB0FP_ILOGBNAN
The following macros expand to the integer constants 1 and 2, respectively:
MATH_ERRNOMATH_ERREXCEPT
The following macro expands to an expression that has typeint andthe valueMATH_ERREXCEPT:
math_errhandling
The value of the macromath_errhandling is constant for the duration ofthe program. If a macro definition is suppressed or a program definesan identifier with the namemath_errhandling, the behavior is undefined.
The <math.h> header defines he following external variable:
extern int signgam;
The <math.h> header defines the structure and constants used by thematherr(3M)error-handling mechanisms.
Seeattributes(5) for descriptions of the following attributes:
|
Intro(3),fenv.h(3HEAD),libm(3LIB),limits.h(3HEAD),matherr(3M),attributes(5),standards(5)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |