www.delorie.com/djgpp/doc/libc/libc_300.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

exp10

Syntax

 
#include <math.h>

double exp10(double x);

Description

This function computes 10 to the power of x, 10^x.

Return Value

10 to the x power. If the value of x is finite, but so large in magnitude that 10^x cannot be accurately represented by a double, the return value is the nearest representable double (possibly, an Inf), and errno is set to ERANGE. If x is either a positive or a negative infinity, the result is either +Inf or zero, respectively, and errno is not changed. If x is a NaN, the return value is NaN and errno is set to EDOM.

Portability

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004