I have already made several attempts in autoexp.dat to make it easier to check the user line and other simple classes in the Visual Studio debugger (using vs2005). I would really like to see directly the value (or approximation) of our custom floating point class. The internal representation is a four-digit integer (int mantissa [4], 128 bits x86), which will be divided by 10 by the power of our indicator. So basically it looks like this:
class FloatingPoint
{
private:
char exponent;
int mantissa[4]
};
The following statement converts it to double, since fp is an object of type FloatingPoint:
(mantissa[0] +
* ((double)mantissa[1] * 32 * 2)
* ((double)mantissa[2] * 64 * 2)
* ((double)mantissa[3] * 96 * 2))
/ std::pow(10, fp.exponent)
- Visual Studio FloatingPoint ? pow - , ... , ?