Skip to main content
7 events
when toggle format what by license comment
Jun 30, 2023 at 21:51 comment added Barmar Isn't this a good reason why the language should include these functions, because it's hard for the application to implement them itself without losing accuracy?
Jun 30, 2023 at 15:33 comment added chux "For sin, cos, tan and others, that limit is quite difficult but not impossible to achieve" is the classic table-maker dilemma. With high precision floating point, it is certainly infeasible to fully test. AFAIK, Getting a ULP of 0.500...0001 or less is reasonable. ULP <= 0.5 is very challenging.
Jun 30, 2023 at 13:51 comment added kaya3 Good point, and users who do want high precision often only need it in a certain range of inputs, which might be different to the range of inputs that other users need precision on. I think the same reason is why many standard libraries offer log (1 + x) as a built-in function ─ it allows higher precision for small x.
S Jun 30, 2023 at 13:47 review First answers
Jun 30, 2023 at 14:41
S Jun 30, 2023 at 13:47 history edited kaya3 CC BY-SA 4.0
added 61 characters in body
S Jun 30, 2023 at 12:21 review First answers
Jun 30, 2023 at 13:33
S Jun 30, 2023 at 12:21 history answered gnasher729 CC BY-SA 4.0