Talk:Roots of a quadratic function: Difference between revisions

Content added Content deleted
(→‎C examples: new section)
Line 15: Line 15:


I just provided a (more) correct C version, and am now tempted to remove other C examples, because the task specifically mentioned the shortcoming of the naive method, yet they went on that route anyway. Opinions? --[[User:Ledrug|Ledrug]] 09:08, 25 June 2011 (UTC)
I just provided a (more) correct C version, and am now tempted to remove other C examples, because the task specifically mentioned the shortcoming of the naive method, yet they went on that route anyway. Opinions? --[[User:Ledrug|Ledrug]] 09:08, 25 June 2011 (UTC)
Wait, what? The existing C and C++ code gives 10^20 and 10^-20 as roots to equation <code>x^2 - 10^-20 x + 1 == 0</code>? What the? --[[User:Ledrug|Ledrug]] 09:22, 25 June 2011 (UTC)