std.math.pow doesn't support f16, f80, f128, c_longdouble or comptime_float #23602
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Zig Version
0.14.0
Steps to Reproduce and Observed Behavior
Expected Behavior
I expected pow to be implemented for all standard floating point types. I'm not sure exactly how the algorithm works, but judging by the fact that it already handles 2 types (f32 and f64) without branching, this doesn't seem like it would be too hard to fix.
The text was updated successfully, but these errors were encountered: