Timeline for answer to Half-Exponential Function by ETHproductions
Current License: CC BY-SA 3.0
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 8, 2017 at 21:33 | history | edited | ETHproductions | CC BY-SA 3.0 |
golfed 3 bytes
|
| Dec 7, 2017 at 6:20 | history | edited | ETHproductions | CC BY-SA 3.0 |
completely new solution
|
| Dec 7, 2017 at 5:47 | history | edited | ETHproductions | CC BY-SA 3.0 |
added 152 characters in body
|
| Dec 7, 2017 at 5:38 | history | edited | ETHproductions | CC BY-SA 3.0 |
added explanation
|
| Dec 7, 2017 at 5:11 | comment | added | ETHproductions |
@user202729 I feel like an idiot--that was left in there from a previous version where I was using Math.log2(...) and had to calculate the ceiling. Now it's not needed at all. Thanks! I'll look into the 2** thing--I was using 2**...+.99|0 originally, but 1<< was shorter because I didn't need the |0. Now I think there's no difference...
|
|
| Dec 7, 2017 at 5:09 | history | edited | ETHproductions | CC BY-SA 3.0 |
golfed 4 bytes
|
| Dec 7, 2017 at 5:00 | comment | added | user202729 |
Now the .99 kills the solution. But why using +.99 and not just +.9? What's the difference?
|
|
| Dec 7, 2017 at 4:59 | comment | added | user202729 |
Use 2** instead of 1<< hopefully fix the problem.
|
|
| Dec 7, 2017 at 4:58 | comment | added | izzyg |
Note that inputs 272 and up give incorrect answers due to integer overflow issues. This is fine, as it works up to the limit of the datatype.
|
|
| Dec 7, 2017 at 4:54 | history | edited | ETHproductions | CC BY-SA 3.0 |
added 8 characters in body
|
| Dec 7, 2017 at 4:47 | history | answered | ETHproductions | CC BY-SA 3.0 |