Julia v1.10: Performance, a new parser, and more
Julia v1.10: Performance, a new parser, and more
Posted Jan 17, 2024 14:31 UTC (Wed) by joib (subscriber, #8541)In reply to: Julia v1.10: Performance, a new parser, and more by ianmcc
Parent article: Julia v1.10: Performance, a new parser, and more
And yes, a particularly large argument to a trigonometric function probably implies that problem should be formulated in some other way. But again, the implementation of a trigonometric function can't know that, and the best it can do is to assume the argument is exact and calculate an answer that is as accurate as possible given that assumption.
And yes, the x87 was notoriously bad with reducing large arguments. Thankfully those days are now past us, and most libc's AFAIK do argument reduction roughly per the famous(?) paper by Ng.
