| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# cbrt.h File Reference

## Detailed Description

Provide the function cbrt (gcc specific) to all platforms.

Author:
  Marco Clemencic (form an idea of Chris Jones)

Date:
  27/07/2007

Definition in file cbrt.h.

`#include <cmath>`

Include dependency graph for cbrt.h:

Go to the source code of this file.

## Defines
#define | cbrt_for_int_type(t) inline double cbrt( t __x ) { return cbrt ( static_cast<double>(__x) ); }
## Functions
double | cbrt (double __x)
float | cbrt (float __x)
long double | cbrt (long double __x)

## Define Documentation

#define cbrt_for_int_type | ( | t |  | ) | inline double cbrt( t __x ) { return cbrt ( static_cast<double>(__x) ); }

Definition at line 46 of file cbrt.h.

## Function Documentation

long double cbrt | ( | long double | __x | ) | `[inline]`

Definition at line 37 of file cbrt.h.

    00037                                            {
    00038 #ifdef __GNUC__
    00039   return ::cbrtl( __x );
    00040 #else
    00041   return ::pow( __x, static_cast<long double>(1.0/3.0) );
    00042 #endif
    00043 }

float cbrt | ( | float | __x | ) | `[inline]`

Definition at line 28 of file cbrt.h.

    00028                                {
    00029 #ifdef __GNUC__
    00030   return ::cbrtf( __x );
    00031 #else
    00032   return ::pow( __x, static_cast<float>(1.0/3.0) );
    00033 #endif
    00034 }

double cbrt | ( | double | __x | ) | `[inline]`

Definition at line 22 of file cbrt.h.

    00022                                 {
    00023   return ::pow( __x, static_cast<double>(1.0/3.0) );
    00024 }