Commit 53588f4f12

Marc Tiehuis <marctiehuis@gmail.com>
2018-03-22 07:18:51
Add missing pub specifier to atan2
1 parent f885a1a
Changed files (1)
std
std/math/atan2.zig
@@ -22,7 +22,7 @@ const std = @import("../index.zig");
 const math = std.math;
 const assert = std.debug.assert;
 
-fn atan2(comptime T: type, x: T, y: T) T {
+pub fn atan2(comptime T: type, x: T, y: T) T {
     return switch (T) {
         f32 => atan2_32(x, y),
         f64 => atan2_64(x, y),