Click here to Skip to main content
15,918,343 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Complex numbers in C# Pin
Chris Maunder7-Sep-21 15:24
cofounderChris Maunder7-Sep-21 15:24 
GeneralRe: Complex numbers in C# Pin
Jon McKee7-Sep-21 11:10
professionalJon McKee7-Sep-21 11:10 
GeneralRe: Complex numbers in C# Pin
Gary R. Wheeler7-Sep-21 11:56
Gary R. Wheeler7-Sep-21 11:56 
GeneralRe: Complex numbers in C# Pin
obermd7-Sep-21 12:09
obermd7-Sep-21 12:09 
GeneralRe: Complex numbers in C# Pin
Stuart Dootson8-Sep-21 0:28
professionalStuart Dootson8-Sep-21 0:28 
GeneralRe: Complex numbers in C# Pin
jsc428-Sep-21 2:50
professionaljsc428-Sep-21 2:50 
GeneralRe: Complex numbers in C# Pin
Chris Maunder8-Sep-21 4:03
cofounderChris Maunder8-Sep-21 4:03 
GeneralRe: Complex numbers in C# Pin
Stuart Dootson8-Sep-21 6:40
professionalStuart Dootson8-Sep-21 6:40 
Good point!

For C++, I would say so, as I turned precision up to 20, which should show 20 sig figs (I turned it up to 100 before posting, but went back down to 20 - wouldn't want to overdo it!).

Fortran... I changed my sample to use this format:
FORTRAN
write (*,fmt='(E18.10/)') a,b

and it wrote
-0.1000000000E+01
0.0000000000E+00

0.0000000000E+00

0.1000000000E+01

so - looks like fortran is good too. Just need to work out how to format exponentials in Haskell, Go and Ada to verify those ones!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Complex numbers in C# Pin
Chris Maunder8-Sep-21 4:03
cofounderChris Maunder8-Sep-21 4:03 
GeneralRe: Complex numbers in C# Pin
Member 150893518-Sep-21 4:03
Member 150893518-Sep-21 4:03 
GeneralRe: Complex numbers in C# Pin
JAM_Mtvdeo9-Sep-21 4:51
JAM_Mtvdeo9-Sep-21 4:51 
GeneralI don't think I've ever seen this kind of thing on a web page before Pin
Kent Sharkey7-Sep-21 8:25
staffKent Sharkey7-Sep-21 8:25 
GeneralRe: I don't think I've ever seen this kind of thing on a web page before Pin
kmoorevs7-Sep-21 8:27
kmoorevs7-Sep-21 8:27 
GeneralRe: I don't think I've ever seen this kind of thing on a web page before Pin
jeron17-Sep-21 9:16
jeron17-Sep-21 9:16 
GeneralRe: I don't think I've ever seen this kind of thing on a web page before Pin
Chris Maunder7-Sep-21 8:32
cofounderChris Maunder7-Sep-21 8:32 
GeneralRe: I don't think I've ever seen this kind of thing on a web page before Pin
PIEBALDconsult7-Sep-21 8:46
mvePIEBALDconsult7-Sep-21 8:46 
GeneralRe: I don't think I've ever seen this kind of thing on a web page before Pin
Jacquers7-Sep-21 18:52
Jacquers7-Sep-21 18:52 
GeneralThought of the Day Pin
OriginalGriff7-Sep-21 5:00
mveOriginalGriff7-Sep-21 5:00 
GeneralRe: Thought of the Day Pin
Jacquers7-Sep-21 5:44
Jacquers7-Sep-21 5:44 
GeneralRe: Thought of the Day Pin
DRHuff7-Sep-21 6:43
DRHuff7-Sep-21 6:43 
GeneralRe: Thought of the Day Pin
pkfox7-Sep-21 7:33
professionalpkfox7-Sep-21 7:33 
GeneralRe: Thought of the Day Pin
  Forogar  7-Sep-21 7:53
professional  Forogar  7-Sep-21 7:53 
GeneralRe: Thought of the Day Pin
pkfox7-Sep-21 8:21
professionalpkfox7-Sep-21 8:21 
GeneralRe: Thought of the Day Pin
OriginalGriff7-Sep-21 19:21
mveOriginalGriff7-Sep-21 19:21 
GeneralRe: Thought of the Day Pin
  Forogar  8-Sep-21 2:59
professional  Forogar  8-Sep-21 2:59 

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.