* as/hc08/lkaomf51.c (OutputName),
[fw/sdcc] / src / SDCCval.h
index 700540286db6c1acc0c0914aaadcf495272dbdc5..27950882065d6d31391d0ec78c9920b0d20a5906 100644 (file)
@@ -95,6 +95,13 @@ value *charVal (char *);
 value *symbolVal (symbol *);
 void printVal (value *);
 double floatFromVal (value *);
+
+/* convert a fixed16x16 type to double */
+double doubleFromFixed16x16(TYPE_TARGET_ULONG value);
+
+/* convert a double type to fixed16x16 */
+TYPE_TARGET_ULONG fixed16x16FromDouble(double value);
+
 CCR_RESULT checkConstantRange (sym_link *var, sym_link *lit, int op, bool exchangeOps);
 value *array2Ptr (value *);
 value *valUnaryPM (value *);