Skip to main content

Timeline for Lucky dice rolls

Current License: CC BY-SA 4.0

32 events
when toggle format what by license comment
Jun 18, 2020 at 15:00 answer added Giuseppe timeline score: 2
Jun 16, 2020 at 10:59 comment added Gábor Fekete @tsh right, it's a 1-indexed range, I added it to make it clear.
Jun 16, 2020 at 10:58 history edited Gábor Fekete CC BY-SA 4.0
added 48 characters in body
Jun 16, 2020 at 8:09 answer added Olivier Grégoire timeline score: 9
Jun 16, 2020 at 3:42 comment added tsh If I understand correctly: For a k faces dice, values on each faces would be 1 ~ k. Maybe this could be add to question specification.
Jun 15, 2020 at 21:01 history became hot network question
Jun 15, 2020 at 20:36 history edited Gábor Fekete CC BY-SA 4.0
added 158 characters in body
Jun 15, 2020 at 20:20 history edited Gábor Fekete CC BY-SA 4.0
added 5 characters in body
Jun 15, 2020 at 20:18 comment added Gábor Fekete @Abigail Yes, I'm a [human] beep, boop. Both of you are right but as I specified that at least 3 decimal places are enough I didn't think this would raise any concerns.
Jun 15, 2020 at 20:11 comment added Gábor Fekete @Arnauld right, I just realized that, will add some more test cases, it should of course work for any integer.
Jun 15, 2020 at 19:38 answer added Giuseppe timeline score: 4
Jun 15, 2020 at 19:15 answer added Neil timeline score: 1
Jun 15, 2020 at 17:05 answer added xash timeline score: 3
Jun 15, 2020 at 16:29 answer added l4m2 timeline score: 1
Jun 15, 2020 at 16:15 comment added Noodle9 @Abigail So you want the computer output edited by a human so it doesn't look like it came from a computer?
Jun 15, 2020 at 16:12 comment added Abigail @Noodle9 I presume the OP is a human, not a binary device. No human should round the exact value of 1827 / 216 to 8.458333333333334.
Jun 15, 2020 at 16:06 comment added Noodle9 @Abigail Why do you expect base-10 precision from a binary device?
Jun 15, 2020 at 16:06 answer added Dominic van Essen timeline score: 3
Jun 15, 2020 at 15:51 comment added Abigail @Noodle9 I expect the examples to be exact (up to rounding), and not to show some artifact from floating point arithmetic.
Jun 15, 2020 at 15:38 comment added Arnauld You may want to add a test case with \$|luck|>1\$. (Unless we always have \$|luck|\le1\$, in which case it should be specified.)
Jun 15, 2020 at 15:33 comment added Noodle9 @Abigail Time for you to read What every computer scientist should know about floating-point arithmetic.
Jun 15, 2020 at 15:32 answer added Abigail timeline score: 1
Jun 15, 2020 at 15:32 answer added Arnauld timeline score: 1
Jun 15, 2020 at 15:23 answer added Xcali timeline score: 3
Jun 15, 2020 at 15:04 answer added Kevin Cruijssen timeline score: 3
Jun 15, 2020 at 15:01 comment added Abigail Shouldn't the fourth example have 8.458333333333 as expected answer? Rounding should not result in a trailing 4.
Jun 15, 2020 at 15:00 history tweeted twitter.com/StackCodeGolf/status/1272544411608547328
Jun 15, 2020 at 14:06 answer added ovs timeline score: 2
Jun 15, 2020 at 13:50 answer added RGS timeline score: 1
Jun 15, 2020 at 13:24 answer added Luis Mendo timeline score: 4
Jun 15, 2020 at 13:16 history edited Gábor Fekete CC BY-SA 4.0
added 8 characters in body
Jun 15, 2020 at 13:01 history asked Gábor Fekete CC BY-SA 4.0