Timeline for Calculate 500 digits of e
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 7 at 21:21 | history | edited | Arnauld | CC BY-SA 4.0 |
saved 5 bytes
|
Jan 7 at 8:43 | comment | added | Neil |
@l4m2 This is why I said "at least". (I had f=(i=252n,q=0n)=>--i?f(i,(q+10n**499n)/-~i):"2."+q but obviously the same trick applies.)
|
|
Jan 7 at 6:27 | comment | added | l4m2 | 45 | |
Jan 7 at 1:20 | history | edited | Arnauld | CC BY-SA 4.0 |
added a shorter version
|
Jan 7 at 1:06 | comment | added | Neil | You can save at least two bytes by porting my method instead. | |
Jan 6 at 23:03 | history | edited | Arnauld | CC BY-SA 4.0 |
saved 1 byte
|
Jan 6 at 22:34 | comment | added | noodle person |
You can save a byte by swapping the order of arguments q and x , and doing q+x instead of q+=x . Try it online!
|
|
Jan 6 at 21:59 | history | edited | Arnauld | CC BY-SA 4.0 |
saved 6 bytes
|
Jan 6 at 21:57 | comment | added | noodle person | 57 using recursion instead of a for loop Try it online! | |
Jan 6 at 21:53 | history | edited | Arnauld | CC BY-SA 4.0 |
saved 3 bytes
|
Jan 6 at 21:36 | history | answered | Arnauld | CC BY-SA 4.0 |