Ghidra Decompiler Analysis Engine
|
Go to the documentation of this file.
19 #ifndef __CPUI_FLOATFORMAT__
20 #define __CPUI_FLOATFORMAT__
49 int4 decimal_precision;
51 static double createFloat(
bool sign,uintb signif,int4 exp);
52 static floatclass extractExpSig(
double x,
bool *sgn,uintb *signif,int4 *exp);
53 static bool roundToNearestEven(uintb &signif, int4 lowbitpos);
54 uintb setFractionalCode(uintb x,uintb code)
const;
55 uintb setSign(uintb x,
bool sign)
const;
56 uintb setExponentCode(uintb x,uintb code)
const;
57 uintb getZeroEncoding(
bool sgn)
const;
58 uintb getInfinityEncoding(
bool sgn)
const;
59 uintb getNaNEncoding(
bool sgn)
const;
60 void calcPrecision(
void);
64 int4 getSize(
void)
const {
return size; }
67 int4 getDecimalPrecision(
void)
const {
return decimal_precision; }
76 uintb
opEqual(uintb a,uintb b)
const;
78 uintb
opLess(uintb a,uintb b)
const;
80 uintb
opNan(uintb a)
const;
81 uintb
opAdd(uintb a,uintb b)
const;
82 uintb
opDiv(uintb a,uintb b)
const;
83 uintb
opMult(uintb a,uintb b)
const;
84 uintb
opSub(uintb a,uintb b)
const;
85 uintb
opNeg(uintb a)
const;
86 uintb
opAbs(uintb a)
const;
87 uintb
opSqrt(uintb a)
const;
88 uintb
opTrunc(uintb a,int4 sizeout)
const;
89 uintb
opCeil(uintb a)
const;
An XML element. A node in the DOM tree.
Definition: xml.hh:150
Lightweight (and incomplete) XML parser for marshaling data to and from the decompiler.