Timeline for Pi got your number
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Apr 4, 2018 at 10:54 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | added 40 characters in body |
| Apr 4, 2018 at 10:02 | comment | added | primo | The initial value of r can literally be anything, although extreme values will require more iterations. The best seed (fewest iterations) is actually 4e200. | |
| Apr 4, 2018 at 10:01 | comment | added | Kevin Cruijssen | @primo But how about r=T? r should start at 2, shouldn't it? | |
| Apr 4, 2018 at 9:55 | comment | added | primo | If you redefine T as t.TEN.pow(200), then you can just .add(T).add(T). | |
| Apr 4, 2018 at 9:01 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | added 2 characters in body |
| Apr 4, 2018 at 8:28 | comment | added | primo | You can also decrement p by one each time (for(int p=667;p-->1;)), and then multiply by p and divide by p-~p. | |
| Apr 3, 2018 at 20:50 | comment | added | Kevin Cruijssen | @primo Thanks! 18 bytes saved thanks to you! (After your port already saved about 400 bytes.. ;p) | |
| Apr 3, 2018 at 20:49 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | added 1299 characters in body |
| Apr 3, 2018 at 20:00 | comment | added | primo | How about keeping p an integer? | |
| Apr 3, 2018 at 15:50 | comment | added | Kevin Cruijssen | Not sure how I missed the first, but the second I really need to remember. Didn't knew there was an indexOf method that skips the first m characters. TIL, thanks! | |
| Apr 3, 2018 at 15:49 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | deleted 596 characters in body |
| Apr 3, 2018 at 15:43 | comment | added | Neil | !p.equals(t.ONE) perhaps? Also, indexOf(n,1)-1 works I think. Or save 2 bytes and make it 1-indexed. | |
| Apr 3, 2018 at 15:43 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | deleted 8 characters in body |
| Apr 3, 2018 at 15:28 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | deleted 284 characters in body |
| Apr 3, 2018 at 15:20 | history | edited | Kevin Cruijssen | CC BY-SA 3.0 | fixed first link.. |
| Apr 3, 2018 at 15:02 | history | answered | Kevin Cruijssen | CC BY-SA 3.0 |