Click here to Skip to main content
16,004,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetting some error while using make file... Pin
Yashusid29-Aug-07 23:07
Yashusid29-Aug-07 23:07 
AnswerRe: Getting some error while using make file... Pin
Roger Broomfield29-Aug-07 23:44
Roger Broomfield29-Aug-07 23:44 
GeneralRe: Getting some error while using make file... Pin
Yashusid29-Aug-07 23:54
Yashusid29-Aug-07 23:54 
QuestionOpenGL, GLSL, C++, DLL, Delphi , f...ing mix Pin
Delfistyaosani29-Aug-07 23:05
Delfistyaosani29-Aug-07 23:05 
Questiondouble and long-double Pin
includeh1029-Aug-07 22:18
includeh1029-Aug-07 22:18 
AnswerRe: double and long-double Pin
toxcct29-Aug-07 22:26
toxcct29-Aug-07 22:26 
AnswerRe: double and long-double Pin
jhwurmbach29-Aug-07 23:11
jhwurmbach29-Aug-07 23:11 
AnswerRe: double and long-double Pin
Russell'30-Aug-07 0:07
Russell'30-Aug-07 0:07 
Range of 'double': 1.7E +/- 308 (15 digits)
'long double' currently is simply 'double'.
Write your cstom class it can be the right way...but it request a lot of work.
A simple way to write your custom class is use the standard math on 'double' provided, using the relations A=B*C and/or A=B+Cwhere B and C are 'double'.
class MYLongDouble{
double B;
double C;
Operation operation; <- this to simply indicate if B+C or B*C or...
...
}

So A will became a very big 'double'. Many functions as sin cos tan exp log ... can be easily implemented in that class:
A2=log(A)=log(B*C)=log(B)+log(C)=B2+C2





Russell

QuestionRe: double and long-double Pin
David Crow30-Aug-07 3:29
David Crow30-Aug-07 3:29 
Questionconst member variable issue Pin
Neo Andreson29-Aug-07 21:52
Neo Andreson29-Aug-07 21:52 
AnswerRe: const member variable issue Pin
Naveen29-Aug-07 21:56
Naveen29-Aug-07 21:56 
GeneralRe: const member variable issue Pin
Neo Andreson29-Aug-07 23:07
Neo Andreson29-Aug-07 23:07 
AnswerRe: const member variable issue Pin
toxcct29-Aug-07 21:57
toxcct29-Aug-07 21:57 
AnswerRe: const member variable issue Pin
Nibu babu thomas29-Aug-07 22:58
Nibu babu thomas29-Aug-07 22:58 
GeneralRe: const member variable issue Pin
Neo Andreson29-Aug-07 23:06
Neo Andreson29-Aug-07 23:06 
QuestionDLL Load issue Pin
George_George29-Aug-07 21:13
George_George29-Aug-07 21:13 
AnswerRe: DLL Load issue Pin
Naveen29-Aug-07 22:01
Naveen29-Aug-07 22:01 
GeneralRe: DLL Load issue Pin
George_George29-Aug-07 22:57
George_George29-Aug-07 22:57 
GeneralRe: DLL Load issue Pin
Naveen29-Aug-07 23:06
Naveen29-Aug-07 23:06 
GeneralRe: DLL Load issue Pin
George_George29-Aug-07 23:17
George_George29-Aug-07 23:17 
GeneralRe: DLL Load issue Pin
Naveen29-Aug-07 23:31
Naveen29-Aug-07 23:31 
GeneralRe: DLL Load issue Pin
George_George29-Aug-07 23:41
George_George29-Aug-07 23:41 
GeneralRe: DLL Load issue Pin
Naveen29-Aug-07 23:48
Naveen29-Aug-07 23:48 
GeneralRe: DLL Load issue Pin
George_George29-Aug-07 23:53
George_George29-Aug-07 23:53 
GeneralRe: DLL Load issue Pin
Naveen30-Aug-07 0:02
Naveen30-Aug-07 0:02 

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.