Crossware

Table of Contents        Previous topic       Next topic       

COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->pow() powl()

Summary

#include <math.h>

    
double pow(double x, double y)Calculate x to power y to double precision
long double powl(long double x, long double y)Calculate x to power y to long double precision

Parameters

x    Floating point value
y    Floating point value



Description

These functions calculate x to the power y.  The result is undefined if x is less than zero.

Return

These functions return x to the power y.