mirror of
https://github.com/g-truc/glm.git
synced 2024-11-13 22:01:46 +00:00
Forward declaration of frexp and ldexp
This commit is contained in:
parent
658d8960d0
commit
b76297c8ff
@ -512,6 +512,9 @@ namespace glm
|
|||||||
template<typename genType, typename genIType>
|
template<typename genType, typename genIType>
|
||||||
GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp);
|
GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp);
|
||||||
|
|
||||||
|
template<length_t L, typename T, qualifier Q>
|
||||||
|
GLM_FUNC_DECL vec<L, T, Q> frexp(vec<L, T, Q> const& v, vec<L, int, Q>& exp);
|
||||||
|
|
||||||
/// Builds a floating-point number from x and the
|
/// Builds a floating-point number from x and the
|
||||||
/// corresponding integral exponent of two in exp, returning:
|
/// corresponding integral exponent of two in exp, returning:
|
||||||
/// significand * exp(2, exponent)
|
/// significand * exp(2, exponent)
|
||||||
@ -526,6 +529,9 @@ namespace glm
|
|||||||
template<typename genType, typename genIType>
|
template<typename genType, typename genIType>
|
||||||
GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp);
|
GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp);
|
||||||
|
|
||||||
|
template<length_t L, typename T, qualifier Q>
|
||||||
|
GLM_FUNC_DECL vec<L, T, Q> ldexp(vec<L, T, Q> const& v, vec<L, int, Q> const& exp);
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user