Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/
Dassert.h71 #define NW_ASSERTMSG(exp, ... ) ((void)0)
73 #define NW_ASSERTMSG(exp, ... ) (void) ((exp) || (nwosPanic(__VA_ARGS__), 0))
82 #define NW_ASSERT(exp) \
83 NW_ASSERTMSG( (exp), "NW:Failed assertion " #exp )
90 #define NW_NULL_ASSERT(exp) \
91 NW_ASSERTMSG( (exp) != NULL, "NW:Pointer must not be NULL ("#exp")" )
98 #define NW_MIN_ASSERT(exp, min) \
99 …NW_ASSERTMSG( (exp) >= (min), #exp " is out of bounds(%d)\n%d <= "#exp" not satisfied.", static_ca…
106 #define NW_MAX_ASSERT(exp, max) \
107 …NW_ASSERTMSG( (exp) <= (max), #exp " is out of bounds(%d)\n"#exp" <= %d not satisfied.", static_ca…
[all …]
/NW4C-2.0.3/include/nw/ut/
Dut_Float24.h129 int exp = (int)((bits24 & EXP_MASK24) >> FRACTION_WIDTH24); in Bits24ToFloat32() local
137 exp = 0; in Bits24ToFloat32()
141 exp = exp - EXP_BIAS24 + EXP_BIAS32; in Bits24ToFloat32()
148 bits32 |= ((u32)exp & 0xFF) << FRACTION_WIDTH32; in Bits24ToFloat32()
165 int exp = (int)((bits32 & EXP_MASK32) >> FRACTION_WIDTH32); in Float32ToBits24() local
173 exp = 0; in Float32ToBits24()
177 exp = exp - EXP_BIAS32 + EXP_BIAS24; in Float32ToBits24()
182 if (exp < 0) in Float32ToBits24()
186 else if (exp > 127) in Float32ToBits24()
195 bits24 |= ((u32)exp & 0x7F) << FRACTION_WIDTH24; in Float32ToBits24()
[all …]
/NW4C-2.0.3/include/nw/font/
Dfont_Font.h30 #define NW_FONT_MIN_ASSERT(exp, min) NN_ASSERT((exp) >= (min)) argument
32 #define NW_FONT_MINMAX_ASSERT(exp, min, max) NN_ASSERT((exp) >= (min) && (exp) <= (max)) argument
Dfont_ArchiveFontBase.h29 #define NW_FONT_FLOAT_ASSERT(exp) ((void)0) argument
/NW4C-2.0.3/include/nw/gfx/
Dgfx_Common.h64 #define NW_ENSURE_AND_ASSERT(exp) \ argument
66 Result result = exp; \
70 #define NW_ENSURE_AND_ASSERT(exp) exp argument
/NW4C-2.0.3/sources/shaders/gfx/DefaultShader/
DCalcVertexLighting.vsh62 exp TEMP5.x, TEMP5.y