Go to the documentation of this file. 1 #ifndef _H_TIRAMISU_MACROS_ 2 #define _H_TIRAMISU_MACROS_ 4 #define cast(TYPE, EXPRESSION) (tiramisu::expr(tiramisu::o_cast, TYPE, EXPRESSION)) 5 #define floor(EXPRESSION) (tiramisu::expr(o_floor, EXPRESSION)) 6 #define clamp(EXPRESSION, MIN_VAL, MAX_VAL) (tiramisu::expr(tiramisu::o_max, tiramisu::expr(tiramisu::o_min, EXPRESSION, MAX_VAL), MIN_VAL))