[libc-commits] [PATCH] D127046: [libc][math] fmod/fmodf implementation.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 23 18:54:53 PDT 2022


lntue added inline comments.


================
Comment at: libc/src/__support/FPUtil/generic/FMod.h:236-239
+    if (hx == 0)
+      return FPB::zero();
+
+    if (n == 0)
----------------
Does marking these 2 conditions `unlikely` improve throughput?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127046/new/

https://reviews.llvm.org/D127046



More information about the libc-commits mailing list