File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ inline float cpu_half2float_ref(const float16 h) {
289289// Same as the previous function, but use the built-in fp16 to fp32
290290// conversion provided by the compiler
291291inline float cpu_half2float (const float16 h) {
292- #if defined(HAS_NATIVE_FP16_TYPE) && not defined(MISSING_GNU_F2H_IEEE)
292+ #if defined(HAS_NATIVE_FP16_TYPE) && ! defined(MISSING_GNU_F2H_IEEE)
293293 __fp16 h_fp16 = NAN;
294294 std::memcpy (&h_fp16, &h, sizeof (__fp16));
295295 return h_fp16;
@@ -299,7 +299,7 @@ inline float cpu_half2float(const float16 h) {
299299}
300300
301301inline float16 cpu_float2half (const float f) {
302- #if defined(HAS_NATIVE_FP16_TYPE) && not defined(MISSING_GNU_F2H_IEEE)
302+ #if defined(HAS_NATIVE_FP16_TYPE) && ! defined(MISSING_GNU_F2H_IEEE)
303303 __fp16 h = f;
304304 float16 res = 0 ;
305305 std::memcpy (&res, &h, sizeof (__fp16));
You can’t perform that action at this time.
0 commit comments