math.log(x, 10) vs. math.log10(x)
Hi community,
I have been having difficulty with exercise 17 (intermediate level) because I used math.log10(x) rather than math.log(x, 10).
Apparently, they do not give the same results (looking online, it seems that math.log10 is preferable in this case). Wouldn’t it be better to test for both cases, or at least inform the students against math.log10 ?
I did not intentionally use the other function, but I was so used to it that I forgot about using math.log(x, 10).
Edit: I’d also note that the link to chapter 3 (right after the exercise 18) is pointing to localhost. Small bug to fix there ;)
Re-Edit: Is there actually a bug-report feature ? In the feedback for 19-adavanced, there are duplicated feedbacks.
Warm regards,