1
0

SINH COSH TANH追加

This commit is contained in:
otya128
2015-08-23 12:03:34 +09:00
parent cd8f5c9c42
commit fe671edf57

View File

@@ -80,14 +80,26 @@ class BuiltinFunction
{ {
return sin(arg1); return sin(arg1);
} }
static double SINH(double arg1)
{
return sinh(arg1);
}
static double COS(double arg1) static double COS(double arg1)
{ {
return cos(arg1); return cos(arg1);
} }
static double COSH(double arg1)
{
return cosh(arg1);
}
static double TAN(double arg1) static double TAN(double arg1)
{ {
return tan(arg1); return tan(arg1);
} }
static double TANH(double arg1)
{
return tanh(arg1);
}
static double RAD(double arg1) static double RAD(double arg1)
{ {
return arg1 * std.math.PI / 180; return arg1 * std.math.PI / 180;