Click here to Skip to main content
15,349,767 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: CCC 2021-01-07: winner Pin
Greg Utas7-Jan-21 6:14
mveGreg Utas7-Jan-21 6:14 
GeneralThe Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:11
mveW Balboos, GHB7-Jan-21 1:11 
GeneralRe: The Decline and Fall of Search Engines Pin
Richard Deeming7-Jan-21 1:13
mveRichard Deeming7-Jan-21 1:13 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:22
mveW Balboos, GHB7-Jan-21 1:22 
GeneralRe: The Decline and Fall of Search Engines Pin
Richard Deeming7-Jan-21 1:27
mveRichard Deeming7-Jan-21 1:27 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:35
mveW Balboos, GHB7-Jan-21 1:35 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016797-Jan-21 19:56
MemberMember 133016797-Jan-21 19:56 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 3:58
mveW Balboos, GHB8-Jan-21 3:58 
First of all, we talking about sorting - so what bugs are you talking about?

Secondly, they have, really, two other options:

1 - Store as integers and divide by 100 (for US$, at least) - so it's back to FP arithmetic
2 - Store as string values - in which case the sort will fail (unless stored left-paddded with blanks or 0's) - and you'll still need to convert them, along the way, to FP in order to do arithmetic with them.

As for your original premise? Bugs? NOT! Round-off errors due to their representation in memory is something a REAL programmer keeps in mind. How much do you think anyone spends on the Amazon website where 64-bit FP's round-off errors will become significant?

There's no excuse for the high priced item to show up in the middle so often, except, of course, marketing.

Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 7:19
MemberMember 133016798-Jan-21 7:19 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 7:59
mveW Balboos, GHB8-Jan-21 7:59 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 8:44
MemberMember 133016798-Jan-21 8:44 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 9:16
mveW Balboos, GHB8-Jan-21 9:16 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 9:42
MemberMember 133016798-Jan-21 9:42 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB11-Jan-21 3:04
mveW Balboos, GHB11-Jan-21 3:04 
GeneralRe: The Decline and Fall of Search Engines Pin
Daniel Will9-Jan-21 4:30
MemberDaniel Will9-Jan-21 4:30 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB11-Jan-21 2:34
mveW Balboos, GHB11-Jan-21 2:34 
GeneralRe: The Decline and Fall of Search Engines Pin
Frank Malcolm8-Jan-21 10:40
MemberFrank Malcolm8-Jan-21 10:40 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 11:16
MemberMember 133016798-Jan-21 11:16 
GeneralRe: The Decline and Fall of Search Engines Pin
Frank Malcolm8-Jan-21 15:17
MemberFrank Malcolm8-Jan-21 15:17 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016799-Jan-21 0:04
MemberMember 133016799-Jan-21 0:04 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB10-Jan-21 2:43
mveW Balboos, GHB10-Jan-21 2:43 
GeneralRe: The Decline and Fall of Search Engines Pin
StarNamer@work21-Jan-21 4:36
professionalStarNamer@work21-Jan-21 4:36 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 132567508-Jan-21 5:25
MemberMember 132567508-Jan-21 5:25 
GeneralRe: The Decline and Fall of Search Engines Pin
20212a7-Jan-21 1:46
Member20212a7-Jan-21 1:46 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:49
mveW Balboos, GHB7-Jan-21 1:49 

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.


Straw Poll

What language are you using for AI development or learning?
Whether you're at work or home, hard core coding or just trying to figure out this AI thing, which languages have you used in your adventures?
  Results   239 votes