Timeline for Which really big number is bigger?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
May 23, 2019 at 13:08 | comment | added | Kevin Cruijssen |
@RosLuP Tbh I dunno, not that familiar with logarithms tbh.. In Java it uses log_e(x)/log_e(1) to accomplish log_1(x) ; and in the Ruby it uses Math.log(x,1) . In my 05AB1E answer .n is a logarithm builtin accepting two numbers as argument (input and base) and also does base_log(input) . Maybe official logarithm always needs a base \$\gt1\$, but all three languages still accept it as valid input.
|
|
May 23, 2019 at 13:01 | comment | added | user58988 | it seems I remember that log has always base >1... How to define log_1 ? In code I use oo only for the case in which the 2 values are both infinite... So case when one value is infinite and other finite would be ok... The suspect the range of this exercise 1..10 is too few too... | |
May 23, 2019 at 10:03 | comment | added | Kevin Cruijssen | @RosLuP Fixed, along with other INFINITY cases due to \$log_1(x)\$. Unfortunately the byte-count is now longer below 100. | |
May 23, 2019 at 10:02 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
Fixed INFINITY cases
|
May 18, 2019 at 9:03 | comment | added | user58988 | [2,1,1,1,1,3,1,1,1,1] result 1 instead has to result 0 | |
May 17, 2019 at 10:46 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
Marked as non-competing due to NEGATIVE_INFINITY test case
|
May 16, 2019 at 18:50 | comment | added | user9207 | I dream of a getting 0! :) | |
May 16, 2019 at 18:44 | comment | added | Kevin Cruijssen | @Anush I actually have the feeling 96 is pretty long, considering the non-golfing language Ruby got 151. ;p And np about the bounty. It's mainly for @SimplyBeautifulArt's approach, but at the same time to give the challenge some attention. The reason it got downvoted is because you posted it a few hours after your earlier answer with 3 powers. I personally like this challenge, and was the first to upvote and answer it, but I can still kinda see the truth in the very first comment under the challenge post at the same time. Hopefully the bounty will make your challenge 0 or positive, though :) | |
May 16, 2019 at 18:37 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 193 characters in body
|
May 16, 2019 at 18:35 | comment | added | user9207 | Very impressed this has got under 100! And thank you so much for adding the bounty. | |
May 16, 2019 at 18:07 | history | answered | Kevin Cruijssen | CC BY-SA 4.0 |