![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements the OP_FLOOR opcode using C99 math.h floor(). More...
#include <math.h>
Go to the source code of this file.
Functions | |
| if (v.type==VAL_INT) | |
| exit (1) | |
Variables | |
| case | OP_FLOOR |
| else | |
| break | |
Implements the OP_FLOOR opcode using C99 math.h floor().
VM opcode snippet included by vm.c. Provides numeric floor operation.
Behavior:
Stack effect:
Types:
Errors:
Example:
Definition in file floor.c.
| exit | ( | 1 | ) |
| if | ( | v. | type = = VAL_INT | ) |
| else |