mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Add missing pub specifier to atan2
This commit is contained in:
parent
f885a1ab61
commit
53588f4f12
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user