Talk:Currency: Difference between revisions

m
(→‎Problem with tasks examples?: (Keep in draft status for a while)?)
 
(5 intermediate revisions by 4 users not shown)
Line 8:
 
Could we possibly '''delay taking this task out of draft status''' for a while whilst this is discussed here? Thanks. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:22, 3 January 2014 (UTC)
:Possibly we could introduce a need for an exact comparison that would fail under floating-point? I agree about keeping it draft for now. --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 16:07, 3 January 2014 (UTC)
::Good points. I had thought of this but didn't have a good idea for how to do it. I really didn't want to make arbitrary precision a requirement as I think that's overkill in almost all cases. I also didn't want to explicitly ban floating point, but how's this for a compromise?. It's kind of contrived to land numbers in the range where 64 bit floats don't quite work but 64 bit ints still do. I added 15 zeros to the 4 (and changed the shake price so improper rounding would still show up.) —[[User:Sonia|Sonia]] ([[User talk:Sonia|talk]]) 21:25, 4 January 2014 (UTC)
::: The numbers are (necessarily) more foolish now, but the test is a good one anyway. In particular, there's now plenty of places to go wrong if you're not careful… –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 22:48, 4 January 2014 (UTC)
 
:: I fail to see what this semtence means: 7.65%. (That's 4 with 15 zeros after it. The number is contrived to exclude naïve task solutions using 64 bit floating point types.) " Where is the 4??? --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 00:57, 5 January 2014 (UTC)
:::Not the best grammar perhaps, but the sentence begins "Use the values 4000000000000000...." —[[User:Sonia|Sonia]] ([[User talk:Sonia|talk]]) 04:34, 5 January 2014 (UTC)
::::Ah, thanks. It refers to the number of hamburgers. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 06:50, 5 January 2014 (UTC)
2,295

edits