Timeline for Leibniz golf in C#
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2015 at 14:55 | vote | accept | Juan Carlos Oropeza | ||
Apr 22, 2015 at 19:49 | comment | added | Juan Carlos Oropeza |
Setting all variables and printing result in the same for very cleaver. But you lose me on the second for . You move the 2* to t assignment and then you have t-- and --t . I think i will have to run it step by step to see what is doing.
|
|
Apr 22, 2015 at 19:25 | comment | added | Peter Taylor | A double can perfectly represent any integer up to 2^51 or 2^52 (can't quite remember offhand and don't feel like looking it up). | |
Apr 22, 2015 at 19:24 | history | edited | Peter Taylor | CC BY-SA 3.0 |
deleted 8 characters in body
|
Apr 22, 2015 at 19:22 | comment | added | VisualMelon | I've heard that a double can perfectly represent an Int32, but I never quite believed it (too lazy to find a good source more than anything else), I was holding back on suggesting collapsing t/j as well, this is considerably better than my job. | |
Apr 22, 2015 at 19:19 | history | answered | Peter Taylor | CC BY-SA 3.0 |