Click here to Skip to main content
15,887,746 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz5-Mar-18 8:24
mveGerry Schmitz5-Mar-18 8:24 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 22:20
mirkocontroller5-Mar-18 22:20 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Pete O'Hanlon5-Mar-18 23:22
mvePete O'Hanlon5-Mar-18 23:22 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz6-Mar-18 5:38
mveGerry Schmitz6-Mar-18 5:38 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Eddy Vluggen6-Mar-18 5:55
professionalEddy Vluggen6-Mar-18 5:55 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
jschell10-Mar-18 10:20
jschell10-Mar-18 10:20 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Member 1377603012-Apr-18 3:57
Member 1377603012-Apr-18 3:57 
QuestionHow can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 1:27
deXo-fan25-Feb-18 1:27 
Hi,

I've been wondering about something for some time now. In assembly (Masm32), which I believe C and C++ are being compiled into (at least Visual C++ is) the largest integer type is the 80-bit TBYTE type, and the largest float type is REAL10, which is also 80 bit big.

So the question is this: how come C++ can have a "long double"-type that can hold 96 bit? There's even a __int128 keyword, even if it is not supported by my version of Visual Studio (it is still being syntax highlighted though, which by itself is strange). And what about C#'s decimal-type?

When I disassemble a C++-program that uses a long double-type, I can see it is given the REAL10 type, but sizeof(long double) does not yield 10, but 12. The MSIL-code for a .NET-app that uses a System.Decimal doesn't specify what happens "behind the scenes" as it is still called System::Decimal in IL. But how come it can hold values greater than 2^80?
GeneralRe: How can certain languages hold 96-bit values? Pin
harold aptroot25-Feb-18 2:09
harold aptroot25-Feb-18 2:09 
GeneralRe: How can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 2:58
deXo-fan25-Feb-18 2:58 
GeneralRe: How can certain languages hold 96-bit values? Pin
harold aptroot25-Feb-18 3:42
harold aptroot25-Feb-18 3:42 
AnswerRe: How can certain languages hold 96-bit values? Pin
Eddy Vluggen25-Feb-18 4:58
professionalEddy Vluggen25-Feb-18 4:58 
QuestionOPENID Connect Sharing Token. Pin
idreesbadshah20-Feb-18 1:04
idreesbadshah20-Feb-18 1:04 
Rant[REPOST] OPENID Connect Sharing Token. Pin
Richard Deeming20-Feb-18 2:33
mveRichard Deeming20-Feb-18 2:33 
QuestionBest Way To Check For Duplicate Company Name Pin
Kevin Marois18-Feb-18 9:42
professionalKevin Marois18-Feb-18 9:42 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Eddy Vluggen18-Feb-18 10:05
professionalEddy Vluggen18-Feb-18 10:05 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Pete O'Hanlon18-Feb-18 10:20
mvePete O'Hanlon18-Feb-18 10:20 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Kevin Marois19-Feb-18 4:51
professionalKevin Marois19-Feb-18 4:51 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Pete O'Hanlon19-Feb-18 6:30
mvePete O'Hanlon19-Feb-18 6:30 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Kevin Marois19-Feb-18 7:56
professionalKevin Marois19-Feb-18 7:56 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
jschell23-Feb-18 13:39
jschell23-Feb-18 13:39 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Mycroft Holmes18-Feb-18 13:29
professionalMycroft Holmes18-Feb-18 13:29 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Gerry Schmitz19-Feb-18 6:27
mveGerry Schmitz19-Feb-18 6:27 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
jschell23-Feb-18 13:42
jschell23-Feb-18 13:42 
QuestionDesign and Architecture Example Pin
gowthami.gnits@gmail.com12-Feb-18 7:38
gowthami.gnits@gmail.com12-Feb-18 7:38 

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.