RFC for std.math.hypot
: "An Improved Algorithm for hypot(a,b)
"
#17915
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
optimization
standard library
This issue involves writing Zig code for the standard library.
Milestone
I've transcribed the proposed algorithm described in this paper (published https://dl.acm.org/doi/10.1145/3428446) as follows:
The key idea seems to be summarized in this paragraph:
I haven't personally benchmarked the accuracy claims of the paper yet, wondering if folks here might share some thoughts on its veracity and whether it's worth integrating into the stdlib?
The text was updated successfully, but these errors were encountered: