From 9c9c8dafe8f9a32bd70aee268cd537b93865a3ba Mon Sep 17 00:00:00 2001 From: Jerry Ge Date: Wed, 19 Jul 2023 23:08:16 +0000 Subject: Run clang-format and update copyright - Also added run clang-format to pre-commit runs Signed-off-by: Jerry Ge Change-Id: I4e59ac0afbaa30dce0773aa63d92a1a3b119e2f3 --- reference_model/src/arith_util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'reference_model/src/arith_util.h') diff --git a/reference_model/src/arith_util.h b/reference_model/src/arith_util.h index 76f3bb8..cab43ba 100644 --- a/reference_model/src/arith_util.h +++ b/reference_model/src/arith_util.h @@ -218,7 +218,8 @@ inline void float_trunc_bytes(float* src) memcpy(src, &src_as_bytes, sizeof(float)); } -inline void truncateFloatToBFloat(float* src, int64_t size) { +inline void truncateFloatToBFloat(float* src, int64_t size) +{ /* Set the least significant two bytes to zero for each float value in the input src buffer. */ ASSERT_MEM(src); -- cgit v1.2.1