diff gen/genlib.h @ 46:31cee67540b5

f32/f64: add floor, ceil, round, and trunc operations we also need saturated add sub mul etc
author Paper <paper@tflc.us>
date Sat, 09 Aug 2025 15:55:59 -0400
parents 7955bed1d169
children
line wrap: on
line diff
--- a/gen/genlib.h	Wed Apr 30 18:36:38 2025 -0400
+++ b/gen/genlib.h	Sat Aug 09 15:55:59 2025 -0400
@@ -53,6 +53,11 @@
 	OP_LRSHIFT,
 	OP_LSHIFT,
 
+	OP_FLOOR,
+	OP_CEIL,
+	OP_ROUND,
+	OP_TRUNC,
+
 	/* use this for array sizes and the like */
 	OP_FINAL_,
 };