///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-08-08
// Updated : 2010-02-04
// Licence : This source is under MIT License
// File : glm/core/func_exponential.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef glm_core_func_exponential
#define glm_core_func_exponential
namespace glm{
namespace core
{
/// \addtogroup core_funcs
/// @{
//! Returns x raised to the y power.
//!
//! \li GLSL pow man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType pow(genType const & x, genType const & y);
//! Returns the natural exponentiation of x, i.e., e^x.
//!
//! \li GLSL exp man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType exp(genType const & x);
//! Returns the natural logarithm of x, i.e.,
//! returns the value y which satisfies the equation x = e^y.
//! Results are undefined if x <= 0.
//!
//! \li GLSL log man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType log(genType const & x);
//! Returns 2 raised to the x power.
//!
//! \li GLSL exp2 man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType exp2(genType const & x);
//! Returns the base 2 log of x, i.e., returns the value y,
//! which satisfies the equation x = 2 ^ y.
//!
//! \li GLSL log2 man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType log2(genType const & x);
//! Returns the positive square root of x.
//!
//! \li GLSL sqrt man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType sqrt(genType const & x);
//! Returns the reciprocal of the positive square root of x.
//!
//! \li GLSL inversesqrt man page
//! \li GLSL 1.30.08 specification, section 8.2
template
genType inversesqrt(genType const & x);
/// @}
}//namespace core
}//namespace glm
#include "func_exponential.inl"
#endif//glm_core_func_exponential