| 3096 | |
| 3097 | |
| 3098 | ExprId LowLevelILFunction::FloatConstSingle(float val, const ILSourceLocation& loc) |
| 3099 | { |
| 3100 | union |
| 3101 | { |
| 3102 | float f; |
| 3103 | uint32_t i; |
| 3104 | } bits; |
| 3105 | bits.f = val; |
| 3106 | return AddExprWithLocation(LLIL_FLOAT_CONST, loc, 4, 0, bits.i); |
| 3107 | } |
| 3108 | |
| 3109 | |
| 3110 | ExprId LowLevelILFunction::FloatConstDouble(double val, const ILSourceLocation& loc) |