diff --git a/code/__defines/math.dm b/code/__defines/math.dm index d59180bbfa..2f8aae7b4e 100644 --- a/code/__defines/math.dm +++ b/code/__defines/math.dm @@ -9,8 +9,6 @@ #define SHORT_REAL_LIMIT 16777216 -#define TAN(x) tan(x) - #define ATAN2(x, y) arctan(x, y) @@ -41,7 +39,7 @@ #define MODULUS(x, y) ( (x) - (y) * round((x) / (y)) ) // Cotangent -#define COT(x) (1 / TAN(x)) +#define COT(x) (1 / tan(x)) // Secant #define SEC(x) (1 / cos(x)) diff --git a/code/modules/integrated_electronics/subtypes/trig.dm b/code/modules/integrated_electronics/subtypes/trig.dm index 303053639f..e6ed841e11 100644 --- a/code/modules/integrated_electronics/subtypes/trig.dm +++ b/code/modules/integrated_electronics/subtypes/trig.dm @@ -71,7 +71,7 @@ var/result = null var/A = get_pin_data(IC_INPUT, 1) if(!isnull(A)) - result = TAN(A) + result = tan(A) set_pin_data(IC_OUTPUT, 1, result) push_data()