mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 12:15:56 +07:00
return modf function
This commit is contained in:
@@ -977,6 +977,9 @@ T fract(T x) noexcept;
|
||||
template < floating_point T >
|
||||
T fmod(T x, T y) noexcept;
|
||||
|
||||
template < floating_point T >
|
||||
T modf(T x, T* y) noexcept;
|
||||
|
||||
template < floating_point T >
|
||||
T copysign(T x, T s) noexcept;
|
||||
|
||||
@@ -1044,6 +1047,9 @@ vec<T, Size> fmod(const vec<T, Size>& xs, T y);
|
||||
template < typename T, size_t Size >
|
||||
vec<T, Size> fmod(const vec<T, Size>& xs, const vec<T, Size>& ys);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
vec<T, Size> modf(const vec<T, Size>& xs, vec<T, Size>* is);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
vec<T, Size> copysign(const vec<T, Size>& xs, T s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user