Loading...
Searching...
No Matches
Go to the documentation of this file. 1#ifndef NW_MATH_CONFIG_H_
2#define NW_MATH_CONFIG_H_
6#define NW_MATH_AS_INLINE
7#define NW_MATH_INLINE inline
9#if defined(NW_PLATFORM_CAFE) && defined(__GHS_VERSION_NUMBER) && (__GHS_VERSION_NUMBER >= 536
)
10 #define NW_MATH_ENABLE_INTRINSICS
11 #define NW_MATH_USE_INTRINSICS
12 #define NW_MATH_IMPL_NS ::nw::math::internal::intrinsics
14 #define NW_MATH_IMPL_NS ::nw::math::internal::standard
17#if defined(NW_MATH_ENABLE_INTRINSICS)
19namespace nw {
namespace math {
namespace internal {
21inline f32x2& tof32x2(f32& x)
23 return *
reinterpret_cast<f32x2*>(&x);
26inline const f32x2& tof32x2(
const f32& x)
28 return *
reinterpret_cast<
const f32x2*>(&x);
31inline f32x2* tof32x2(f32* x)
33 return reinterpret_cast<f32x2*>(x);
36inline const f32x2* tof32x2(
const f32* x)
38 return reinterpret_cast<
const f32x2*>(x);
#define NW_PLATFORM_CAFE
Definition types.h:8