Skip to main content
15 events
when toggle format what by license comment
Mar 12, 2022 at 7:56 comment added Neil ceil might not be working because the floating-point value is so large that it always represents an integer. (I think the first part of your answer actually relies on this behaviour.)
Mar 8, 2022 at 15:52 comment added ophact @KevinCruijssen Thank you! Looks better now.
Mar 8, 2022 at 15:09 comment added Kevin Cruijssen I've fixed the floors/ceils in the MathJax so it uses the full vertical height. If you feel the previous looked better, feel free to revert it back.
Mar 8, 2022 at 15:08 history edited Kevin Cruijssen CC BY-SA 4.0
edited to full-length mathjax floors/ceils
Mar 8, 2022 at 14:56 comment added Kevin Cruijssen 1<m<=P and can be P>=m>1and for -1
Mar 8, 2022 at 14:55 comment added xiver77 This might be interesting to you. See libdivide_internal_u32_gen and libdivide_u32_do
Mar 8, 2022 at 14:21 history edited ophact CC BY-SA 4.0
added 2 characters in body
Mar 8, 2022 at 14:01 history edited ophact CC BY-SA 4.0
deleted 1 character in body
Mar 8, 2022 at 13:42 history edited ophact CC BY-SA 4.0
deleted 20 characters in body
Mar 8, 2022 at 13:31 history edited ophact CC BY-SA 4.0
added 132 characters in body
Mar 8, 2022 at 12:43 history edited ophact CC BY-SA 4.0
added 132 characters in body
Mar 8, 2022 at 12:35 comment added ophact @pxeger Yes ;) I'll keep golfing as I go
Mar 8, 2022 at 12:35 history edited ophact CC BY-SA 4.0
added 708 characters in body
Mar 8, 2022 at 12:34 comment added pxeger The 2**(32+x)s can be replaced with P<<x (in a few places you need brackets though)
Mar 8, 2022 at 12:29 history answered ophact CC BY-SA 4.0