Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 9 of 9) sorted by relevance

/CTR-SDK-4.2.5/include/nn/
Dassert.h64 #define NN_ASSERT(exp) argument
76 #define NN_ASSERTMSG(exp, ...) argument
89 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) argument
107 #define NN_ALIGN_ASSERT(exp, align) argument
120 #define NN_EQUAL_ASSERT(exp, equ) argument
132 #define NN_FLOAT_ASSERT(exp) argument
144 #define NN_MIN_ASSERT(exp, min) argument
156 #define NN_MAX_ASSERT(exp, max) argument
169 #define NN_MINMAX_ASSERT(exp, min, max) argument
181 #define NN_NOT_EQUAL_ASSERT(exp, equ) argument
[all …]
/CTR-SDK-4.2.5/include/nn/dbg/
Ddbg_PrintResult.h60 #define NN_DBG_CHECK_RESULT(exp) argument
70 #define NN_DBG_PRINT_RESULT(exp) argument
118 #define NN_DBG_CHECK_RESULT(exp) NN_PANIC_IF_FAILED(exp) argument
120 #define NN_DBG_CHECK_RESULT(exp) ((void)(exp)) argument
124 #define NN_DBG_PRINT_RESULT(exp) ::nn::dbg::detail::PrintResult(exp) argument
126 #define NN_DBG_PRINT_RESULT(exp) ((void)(exp)) argument
129 #define NN_DBG_TPRINT_RESULT_(exp) NN_DBG_PRINT_RESULT(exp) argument
/CTR-SDK-4.2.5/include/nn/util/
Dutil_Float24.h128 int exp = (int)((bits24 & EXP_MASK24) >> FRACTION_WIDTH24); in Bits24ToFloat32() local
136 exp = 0; in Bits24ToFloat32()
140 exp = exp - EXP_BIAS24 + EXP_BIAS32; in Bits24ToFloat32()
147 bits32 |= ((u32)exp & 0xFF) << FRACTION_WIDTH32; in Bits24ToFloat32()
164 int exp = (int)((bits32 & EXP_MASK32) >> FRACTION_WIDTH32); in Float32ToBits24() local
172 exp = 0; in Float32ToBits24()
176 exp = exp - EXP_BIAS32 + EXP_BIAS24; in Float32ToBits24()
181 if (exp < 0) in Float32ToBits24()
185 else if (exp > 127) in Float32ToBits24()
194 bits24 |= ((u32)exp & 0x7F) << FRACTION_WIDTH24; in Float32ToBits24()
[all …]
/CTR-SDK-4.2.5/sources/libraries/rdt/CTR/
Drdt_Utility.h56 #define WARNING(exp) (void) ((exp) || (nn::rdt::CTR::GetLogLevel()==nn::rdt::CTR::LOG_LEVEL_NONE) |… argument
61 #define WARNINGMSG(exp, ...) (void) ((exp) || (nn::rdt::CTR::GetLogLevel()==nn::rdt::CTR::LOG_LEVEL… argument
72 #define ASSERT(exp) (void) ((exp) || \ argument
79 #define ASSERTMSG(exp, ...) (void) ((exp) || \ argument
92 #define ALIGN_ASSERT(exp, align) ASSERTMSG( ((uptr)(exp)) % (align) == 0, "%s must be %d byte align… argument
94 #define ALIGN_ASSERT(exp, align) NN_ALIGN_ASSERT(exp, align) argument
DTest.h25 #define CU_ASSERT(exp) argument
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_Utility.h21 #define NN_CX_CHECK_ALIGN(exp, align) \ argument
22 NN_TWARNING_((reinterpret_cast<uptr>(exp)) % (align) == 0, \
23 "%s(=0x%08x) should be %d byte aligned.", #exp, (exp), align)
/CTR-SDK-4.2.5/include/nn/font/
Dfont_Font.h24 #define NN_FONT_MIN_ASSERT(exp, min) NN_ASSERT((exp) >= (min)) argument
26 #define NN_FONT_MINMAX_ASSERT(exp, min, max) NN_ASSERT((exp) >= (min) && (exp) <= (max)) argument
Dfont_ArchiveFontBase.h26 #define NN_FONT_FLOAT_ASSERT(exp) ((void)0) argument
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Config.h31 #define NN_MATH_MINMAXLT_ASSERT(exp, min, max) \ argument
32 …NN_ASSERTMSG( (exp) >= (min) && (exp) < (max), #exp " is out of bounds(%d)\n%d <= "#exp" < %d not …