Click here to Skip to main content
15,565,530 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 9:24
mveGerry Schmitz5-Mar-18 9:24 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 23:20
mirkocontroller5-Mar-18 23:20 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Pete O'Hanlon6-Mar-18 0:22
mvaPete O'Hanlon6-Mar-18 0:22 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz6-Mar-18 6:38
mveGerry Schmitz6-Mar-18 6:38 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Eddy Vluggen6-Mar-18 6:55
professionalEddy Vluggen6-Mar-18 6:55 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
jschell10-Mar-18 11:20
jschell10-Mar-18 11:20 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Member 1377603012-Apr-18 4:57
Member 1377603012-Apr-18 4:57 
QuestionHow can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 2:27
deXo-fan25-Feb-18 2: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 3:09
harold aptroot25-Feb-18 3:09 
GeneralRe: How can certain languages hold 96-bit values? Pin
deXo-fan25-Feb-18 3:58
deXo-fan25-Feb-18 3:58 
GeneralRe: How can certain languages hold 96-bit values? Pin
harold aptroot25-Feb-18 4:42
harold aptroot25-Feb-18 4:42 
AnswerRe: How can certain languages hold 96-bit values? Pin
Eddy Vluggen25-Feb-18 5:58
professionalEddy Vluggen25-Feb-18 5:58 
QuestionOPENID Connect Sharing Token. Pin
idreesbadshah20-Feb-18 2:04
idreesbadshah20-Feb-18 2:04 
Rant[REPOST] OPENID Connect Sharing Token. Pin
Richard Deeming20-Feb-18 3:33
mveRichard Deeming20-Feb-18 3:33 
QuestionBest Way To Check For Duplicate Company Name Pin
Kevin Marois18-Feb-18 10:42
professionalKevin Marois18-Feb-18 10:42 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Eddy Vluggen18-Feb-18 11:05
professionalEddy Vluggen18-Feb-18 11:05 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Pete O'Hanlon18-Feb-18 11:20
mvaPete O'Hanlon18-Feb-18 11:20 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Kevin Marois19-Feb-18 5:51
professionalKevin Marois19-Feb-18 5:51 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Pete O'Hanlon19-Feb-18 7:30
mvaPete O'Hanlon19-Feb-18 7:30 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
Kevin Marois19-Feb-18 8:56
professionalKevin Marois19-Feb-18 8:56 
GeneralRe: Best Way To Check For Duplicate Company Name Pin
jschell23-Feb-18 14:39
jschell23-Feb-18 14:39 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Mycroft Holmes18-Feb-18 14:29
professionalMycroft Holmes18-Feb-18 14:29 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
Gerry Schmitz19-Feb-18 7:27
mveGerry Schmitz19-Feb-18 7:27 
AnswerRe: Best Way To Check For Duplicate Company Name Pin
jschell23-Feb-18 14:42
jschell23-Feb-18 14:42 
QuestionDesign and Architecture Example Pin
gowthami.gnits@gmail.com12-Feb-18 8:38
gowthami.gnits@gmail.com12-Feb-18 8: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.