|
libyasm
|
00001 00032 #ifndef YASM_FLOATNUM_H 00033 #define YASM_FLOATNUM_H 00034 00035 #ifndef YASM_LIB_DECL 00036 #define YASM_LIB_DECL 00037 #endif 00038 00040 YASM_LIB_DECL 00041 void yasm_floatnum_initialize(void); 00042 00044 YASM_LIB_DECL 00045 void yasm_floatnum_cleanup(void); 00046 00052 YASM_LIB_DECL 00053 /*@only@*/ yasm_floatnum *yasm_floatnum_create(const char *str); 00054 00059 YASM_LIB_DECL 00060 /*@only@*/ yasm_floatnum *yasm_floatnum_copy(const yasm_floatnum *flt); 00061 00065 YASM_LIB_DECL 00066 void yasm_floatnum_destroy(/*@only@*/ yasm_floatnum *flt); 00067 00076 YASM_LIB_DECL 00077 int yasm_floatnum_calc(yasm_floatnum *acc, yasm_expr_op op, 00078 yasm_floatnum *operand); 00079 00087 YASM_LIB_DECL 00088 int yasm_floatnum_get_int(const yasm_floatnum *flt, 00089 /*@out@*/ unsigned long *ret_val); 00090 00108 YASM_LIB_DECL 00109 int yasm_floatnum_get_sized(const yasm_floatnum *flt, unsigned char *ptr, 00110 size_t destsize, size_t valsize, size_t shift, 00111 int bigendian, int warn); 00112 00121 YASM_LIB_DECL 00122 int yasm_floatnum_check_size(const yasm_floatnum *flt, size_t size); 00123 00128 YASM_LIB_DECL 00129 void yasm_floatnum_print(const yasm_floatnum *flt, FILE *f); 00130 00131 #endif
1.7.3