Message from C, C++ discussions

December 2019

— Reported Ak to admins.​​​​​​​​​​​​​​​

— 

Hi
As we know log(x) has value only at x>0. Is there any way to set log(x) at -infinity < x < infinity in c++?

— Because I want to plot the range value of log(x) for example from -10 to +10

— Who told you log(x) x had value > 0?

— Log0 = 1

— X = 0

— What about-infinity

— Infinity is not a real number

— You just go on that's infinity

— .....

— I don’t mean exactly infinity. I mean from -10 to +10

— Log(-5)