Add degree variants of FLOP operations
- Added versions of the trig operations supported by FLOP that can work with degrees directly instead of radians. - Reorder FLOPs into more sensible groupings.
This commit is contained in:
parent
0468b1f9ce
commit
ff7b1f6e5e
3 changed files with 54 additions and 27 deletions
|
|
@ -101,21 +101,30 @@ static const char *const FlopNames[] =
|
|||
{
|
||||
"abs",
|
||||
"neg",
|
||||
"acos",
|
||||
"asin",
|
||||
"atan",
|
||||
"cos",
|
||||
"cosh",
|
||||
"exp",
|
||||
"log",
|
||||
"log10",
|
||||
"sin",
|
||||
"sinh",
|
||||
"tan",
|
||||
"tanh",
|
||||
"sqrt",
|
||||
"ceil",
|
||||
"floor"
|
||||
"floor",
|
||||
|
||||
"acos rad",
|
||||
"asin rad",
|
||||
"atan rad",
|
||||
"cos rad",
|
||||
"sin rad",
|
||||
"tan rad",
|
||||
|
||||
"acos deg",
|
||||
"asin deg",
|
||||
"atan deg",
|
||||
"cos deg",
|
||||
"sin deg",
|
||||
"tan deg",
|
||||
|
||||
"cosh",
|
||||
"sinh",
|
||||
"tanh",
|
||||
};
|
||||
|
||||
static int print_reg(FILE *out, int col, int arg, int mode, int immshift, const VMScriptFunction *func);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue