Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > E

exp10(3M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

exp10(), exp10f(), exp10l(), exp10w(), exp10q() — base-10 exponential functions

SYNOPSIS

#include <math.h>

HP Integrity Server Only

double exp10(double x);

float exp10f(float x);

long double exp10l(long double x);

extended exp10w(extended x);

quad exp10q(quad x);

DESCRIPTION

Integrity Server Only

exp10() returns 10x.

exp10f() is a float version of exp10(); it takes a float argument and returns a float result.

exp10l() is a long double version of exp10(); it takes a long double argument and returns a long double result.

exp10w() is an extended version of exp10(); it takes an extended argument and returns an extended result.

exp10q() is equivalent to exp10l() on HP-UX systems.

USAGE

To use these functions compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options.

To use exp10w() or exp10q(), compile also with the -fpwidetypes option.

To use any of these functions, make sure your program includes <math.h>, and link in the math library by specifying -lm on the compiler or linker command line.

For more information, see the HP-UX floating-point guide for HP Integrity servers at the following site: http://www.hp.com/go/fp.

RETURN VALUE

exp10(±0) returns 1.

If x is +INFINITY, exp10() returns +INFINITY.

If x is -INFINITY, exp10() returns zero.

If x is NaN, exp10() returns NaN.

exp10() returns infinity in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions.

exp10() raises the underflow and inexact exceptions whenever a result is tiny (essentially denormal or zero) and thereby suffers loss of accuracy, and may raise those exceptions if the result is merely tiny.

exp10() raises the inexact exception whenever a rounded result does not equal the mathematical result.

ERRORS

No errors are defined.

STANDARDS CONFORMANCE

These functions are not specified by any standard.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.