[libc-commits] [libc] [libc][math][c23] Add f16fmaf C23 math function (PR #95483)

via libc-commits libc-commits at lists.llvm.org
Fri Jun 14 08:42:55 PDT 2024


================
@@ -231,6 +231,8 @@ fma(InType x, InType y, InType z) {
   OutStorageType result = 0;
   int r_exp = 0; // Unbiased exponent of the result
 
+  int round_mode = fputil::quick_get_round();
----------------
lntue wrote:

Put this in the `else` clause if it's only used in there. 

https://github.com/llvm/llvm-project/pull/95483


More information about the libc-commits mailing list