Talk:Roots of a quadratic function: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 12:
I wonder why noone spotted this earlier!
 
<cite>Forsythe, Michael Malcolm and Cleve MoleMoler suggest to try it on a=1, b=-10<sup>5</sup>, c=1</cite>, but Ada sample code uses -10e5, which is indeed -1e6 (-10<sup>6</sup>), if I was not wrong since I knew the "e" notation... --[[User:ShinTakezou|ShinTakezou]] 21:24, 22 June 2009 (UTC)
 
Basically all the test cases had a = 1, :-) So I added some test cases especially where a ≠ 1, hence 2*a ≠ 2/a.... [[User:NevilleDNZ|NevilleDNZ]] 14:28, 16 September 2010 (UTC)
 
In the example above (2nd line) (-10<sup>6</sup>) isn't the same as -1e6. The former is -1,000,000 and the latter is +1,000,000. --[[User:Gerard Schildberger|Gerard Schildberger]] 18:11, 25 June 2011 (UTC)
:Nope. -1e6 = -1000000. And -10^6=-1000000 as well, except in some onsane languages. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 17:35, 13 August 2020 (UTC)
 
Other way round surely: <math>-10^n</math> will always be positive when n is even. --Laurie Alvey 10:45, 19 May 2015 (UTC)
 
1,336

edits