diff --git a/samples/common/utils/utils.cpp b/samples/common/utils/utils.cpp index b3da778443c5dc9c11b6ad334d08151db74af6ef..a0993f7a0cf3c1de49202a215a6f07fdea493a9d 100644 --- a/samples/common/utils/utils.cpp +++ b/samples/common/utils/utils.cpp @@ -18,7 +18,7 @@ using json = nlohmann::json; namespace Infer { using namespace std; -// FP32 (单精度浮点数) 标准定义常量 +// FP32 (单精度浮点数) 标准定义常量 -test constexpr uint32_t FP32_SIGN_SHIFT = 31; // 符号位偏移(第31位) constexpr uint32_t FP32_SIGN_MASK = 0x1; // 符号位掩码(仅最低1位) constexpr uint32_t FP32_EXP_SHIFT = 23; // 指数位偏移(第23-30位)