Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Event watching... Pin
John R. Shaw2-Sep-05 14:27
John R. Shaw2-Sep-05 14:27 
GeneralRe: Event watching... Pin
Tom Archer31-Aug-05 23:39
Tom Archer31-Aug-05 23:39 
GeneralRe: Event watching... Pin
ThatsAlok1-Sep-05 2:25
ThatsAlok1-Sep-05 2:25 
GeneralRe: Event watching... Pin
Tom Archer1-Sep-05 7:05
Tom Archer1-Sep-05 7:05 
Question128 bit Data Type Pin
abc87631-Aug-05 19:37
abc87631-Aug-05 19:37 
AnswerRe: 128 bit Data Type Pin
G Haranadh31-Aug-05 19:42
G Haranadh31-Aug-05 19:42 
GeneralRe: 128 bit Data Type Pin
toxcct31-Aug-05 23:33
toxcct31-Aug-05 23:33 
GeneralRe: 128 bit Data Type Pin
Bob Stanneveld1-Sep-05 0:25
Bob Stanneveld1-Sep-05 0:25 
Hello,

You could always create a class that holds a memory block of 128 bits. You have to decide which floating point representation you use and define all the basic operations yourself. You have to go down to the bit level yourself to do all the excact calculations.

One class declaration could look like:
class CFloat128
{
public:
    CFloat128(unsigned __int64 uLowOrder, 
              unsigned __int64 uHighOrder = 0,
              bool bNegative = false);
    ~CFloat128();

// your operations
private:
    void* m_pData;
};

// overloaded operators
CFloat128 operator + (const CFloat128& lFloat, const CFloat128 rFloat);
// etc..


Hope this helps Smile | :)

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
AnswerRe: 128 bit Data Type Pin
markkuk1-Sep-05 1:57
markkuk1-Sep-05 1:57 
Questionhow to laod a bitmap Pin
a_david12331-Aug-05 19:19
a_david12331-Aug-05 19:19 
AnswerRe: how to laod a bitmap Pin
G Haranadh31-Aug-05 19:39
G Haranadh31-Aug-05 19:39 
GeneralRe: how to load a bitmap Pin
a_david12331-Aug-05 19:47
a_david12331-Aug-05 19:47 
GeneralRe: how to laod a bitmap Pin
a_david12331-Aug-05 19:53
a_david12331-Aug-05 19:53 
AnswerRe: how to laod a bitmap Pin
Emilio Garavaglia31-Aug-05 20:46
Emilio Garavaglia31-Aug-05 20:46 
QuestionProblem with "cfgmgr32.h" in DDK Pin
rajeevktripathi31-Aug-05 19:11
rajeevktripathi31-Aug-05 19:11 
AnswerRe: Problem with "cfgmgr32.h" in DDK Pin
Jose Lamas Rios31-Aug-05 20:01
Jose Lamas Rios31-Aug-05 20:01 
GeneralRe: Problem with "cfgmgr32.h" in DDK Pin
rajeevktripathi31-Aug-05 21:31
rajeevktripathi31-Aug-05 21:31 
GeneralRe: Problem with "cfgmgr32.h" in DDK Pin
Jose Lamas Rios1-Sep-05 2:18
Jose Lamas Rios1-Sep-05 2:18 
GeneralRe: Problem with "cfgmgr32.h" in DDK Pin
rajeevktripathi1-Sep-05 19:04
rajeevktripathi1-Sep-05 19:04 
GeneralRe: Problem with "cfgmgr32.h" in DDK Pin
Jose Lamas Rios2-Sep-05 3:07
Jose Lamas Rios2-Sep-05 3:07 
QuestionC++BuilderX Pin
ChuCon31-Aug-05 17:18
ChuCon31-Aug-05 17:18 
AnswerRe: C++BuilderX Pin
John R. Shaw31-Aug-05 20:54
John R. Shaw31-Aug-05 20:54 
GeneralRe: C++BuilderX Pin
toxcct31-Aug-05 22:00
toxcct31-Aug-05 22:00 
AnswerRe: C++BuilderX Pin
toxcct31-Aug-05 22:05
toxcct31-Aug-05 22:05 
AnswerRe: C++BuilderX Pin
Giannakakis Kostas1-Sep-05 2:48
professionalGiannakakis Kostas1-Sep-05 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.