Click here to Skip to main content
15,887,267 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.

 
JokeRe: Latest Alien movie - teaser trailer Pin
PIEBALDconsult21-Mar-24 2:10
mvePIEBALDconsult21-Mar-24 2:10 
GeneralRe: Latest Alien movie - teaser trailer Pin
glennPattonWork321-Mar-24 4:12
professionalglennPattonWork321-Mar-24 4:12 
GeneralLast one for a while: I didn't think that orthopedic shoes would help PinPopular
jmaida20-Mar-24 16:43
jmaida20-Mar-24 16:43 
QuestionWhat's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 16:11
professionalJeremy Falcon20-Mar-24 16:11 
AnswerRe: What's y'all's favorite way of dealing with floating point precision? Pin
jmaida20-Mar-24 16:39
jmaida20-Mar-24 16:39 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 16:53
professionalJeremy Falcon20-Mar-24 16:53 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
jmaida20-Mar-24 17:29
jmaida20-Mar-24 17:29 
AnswerRe: What's y'all's favorite way of dealing with floating point precision? PinPopular
Mircea Neacsu20-Mar-24 16:53
Mircea Neacsu20-Mar-24 16:53 
I would argue that “complete accuracy on numbers” doesn’t exist. 1/3 cannot be represented exactly. You can do tricks like working with fractions and postponing the actual division until the very end, but in the end, if you have to print the result, you will have to print an approximation.
Mircea

GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 16:55
professionalJeremy Falcon20-Mar-24 16:55 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Mircea Neacsu20-Mar-24 16:59
Mircea Neacsu20-Mar-24 16:59 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 17:03
professionalJeremy Falcon20-Mar-24 17:03 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Mircea Neacsu20-Mar-24 17:05
Mircea Neacsu20-Mar-24 17:05 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 17:08
professionalJeremy Falcon20-Mar-24 17:08 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Mircea Neacsu20-Mar-24 17:30
Mircea Neacsu20-Mar-24 17:30 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 18:54
professionalJeremy Falcon20-Mar-24 18:54 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Andre_Prellwitz24-Mar-24 20:35
Andre_Prellwitz24-Mar-24 20:35 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon26-Mar-24 10:39
professionalJeremy Falcon26-Mar-24 10:39 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
jmaida20-Mar-24 17:33
jmaida20-Mar-24 17:33 
AnswerRe: What's y'all's favorite way of dealing with floating point precision? Pin
Amarnath S20-Mar-24 18:13
professionalAmarnath S20-Mar-24 18:13 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Daniel Pfeffer20-Mar-24 18:55
professionalDaniel Pfeffer20-Mar-24 18:55 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
jmaida21-Mar-24 14:51
jmaida21-Mar-24 14:51 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 19:00
professionalJeremy Falcon20-Mar-24 19:00 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
bjongejan22-Mar-24 3:11
bjongejan22-Mar-24 3:11 
AnswerRe: What's y'all's favorite way of dealing with floating point precision? Pin
Daniel Pfeffer20-Mar-24 18:53
professionalDaniel Pfeffer20-Mar-24 18:53 
GeneralRe: What's y'all's favorite way of dealing with floating point precision? Pin
Jeremy Falcon20-Mar-24 18:56
professionalJeremy Falcon20-Mar-24 18:56 

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.