Document revision date: 30 March 2001

## Compaq Portable Mathematics Library

Begin | Index

Contents (summary)
Preface | Preface
Chapter 1 | Introduction to CPML
Chapter 2 | CPML Routines
Appendix A | Critical Floating-Point Values
Appendix B | CPML Entry-Point Names
| Glossary
| Index
| Tables

## Contents

Preface
Preface | Preface
Chapter 1
1 | Introduction to CPML
1.1 | Overview
1.2 | Data Types
1.3 | Exceptional Arguments
1.4 | Exception Conditions and Exception Behavior
1.5 | IEEE Std 754 Considerations
1.6 | X/Open Portability Guide Considerations
Chapter 2
2 | CPML Routines
2.1 | CPML Routine Descriptions
2.2 | CPML Routine Interface
2.3 | Specific Entry-Point Names
2.4 | Working with Exception Conditions
2.5 | CPML Routine Interface Examples
2.5.1 | atan2() Interface
2.5.2 | cdiv() Interface
Command 1 | acos - Arc Cosine of Angle
Command 2 | acosh - Hyperbolic Arc Cosine of Angle
Command 3 | asin - Arc Sine of Angle
Command 4 | asinh - Hyperbolic Arc Sine of Angle
Command 5 | atan - Arc Tangent of Angle with One Argument
Command 6 | atan2 - Arc Tangent of Angle with Two Arguments
Command 7 | atanh - Hyperbolic Arc Tangent of Angle
Command 8 | bessel - Bessel Functions
Command 9 | cabs - Complex Absolute Value
Command 10 | cbrt - Cube Root
Command 11 | ccos - Cosine of Angle of a Complex Number
Command 12 | cdiv - Complex Division
Command 13 | ceil - Ceiling
Command 14 | cexp - Complex Exponential
Command 15 | clog - Complex Natural Logarithm
Command 16 | cmul - Complex Multiplication
Command 17 | copysign - Copy Sign
Command 18 | cos - Cosine of Angle
Command 19 | cosh - Hyperbolic Cosine of Angle
Command 20 | cot - Cotangent of Angle
Command 21 | cpow - Complex Power
Command 22 | csin - Sine of Angle of a Complex Number
Command 23 | csqrt - Complex Square Root
Command 24 | cvt_ftof - Convert Between Supported Floating-Point Data Types
Command 25 | drem - Remainder
Command 26 | erf - Error Functions
Command 27 | exp - Exponential
Command 28 | fabs - Absolute Value
Command 29 | finite - Check for Finite Value
Command 30 | floor - Floor
Command 31 | fmod - Modulo Remainder
Command 32 | fp_class - Classifies IEEE Floating-Point Values
Command 33 | frexp - Convert to Fraction and Integral Power of 2
Command 34 | hypot - Euclidean Distance
Command 35 | ilogb - Computes an Unbiased Exponent
Command 36 | isnan - Check for NaN Value
Command 37 | ldexp - Multiply by an Integral Power of 2
Command 38 | lgamma - Computes the Logarithm of the gamma Function
Command 39 | log - Logarithm Functions
Command 40 | logb - Radix-independent Exponent
Command 41 | modf - Return the Fractional Part and Integer Part of a Floating-Point Number
Command 42 | nextafter - Next Machine Number After
Command 43 | nint - Round to the Nearest Integer
Command 44 | pow - Raise the Base to a Floating-Point Exponent
Command 45 | random - Random Number Generator, Uniformly Distributed
Command 46 | remainder - Remainder
Command 47 | rint - Return the Nearest Integral Value
Command 48 | scalb - Exponent Adjustment
Command 49 | sin - Sine of Angle
Command 50 | sincos - Sine and Cosine of Angle
Command 51 | sinh - Hyperbolic Sine
Command 52 | sinhcosh - Hyperbolic Sine and Cosine
Command 53 | sqrt - Square Root
Command 54 | tan - Tangent of Angle
Command 55 | tanh - Hyperbolic Tangent
Command 56 | trunc - Truncation
Command 57 | unordered - Check for x Unordered with Respect to y
Appendix A
Appendix A | Critical Floating-Point Values
Appendix B
Appendix B | CPML Entry-Point Names
Glossary
Glossary | Glossary
Index
| Index
Tables
1-1 | Floating-Point Data Types
1-2 | Floating-Point Complex Data Types
1-3 | Default Action and Return Values for Exception Conditions
1-4 | XPG4 Conformant Routines
A-1 | Hexadecimal and Decimal Boundary Values
B-1 | Entry-Point Names for CPML Platforms

Previous | Next | Index

| privacy and legal statement |
6118PRO_CONTENTS.HTML