Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Recursive function returns None, when True is expected
Post: Recursive function returns None, when True is expe...

Hi, I'm learning Python, I guess this must be absolutely silly but it's been driving me mad for hours. I've simplified a lot from the original problem, and I can't understand how this function return...
akar General Coding Help 0 3,396 Sep-07-2020, 07:58 PM
    Thread: Python gives " -0.0 " as solution for an equation
Post: RE: Python gives " -0.0 " as solution for an equat...

Ok, I did not know about the IEEE 754 standard and signed zeros. Thanks for your answer. Now I know I'll have to be cautious about that. "Problem" solved!
akar General Coding Help 2 1,789 Aug-27-2020, 12:15 PM
    Thread: Python gives " -0.0 " as solution for an equation
Post: Python gives " -0.0 " as solution for an equation

Hi, I'm learning Python (3.7) and I have sometimes strange results, for example when using code to find the real roots of a single univariate quadratic function: a= -200 b = 600 c = 0 discr = b**2 - ...
akar General Coding Help 2 1,789 Aug-27-2020, 11:15 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020