General > The Laboratory

Coding comparison using the Po-Shen Loh's new quadratic formula

<< < (3/3)

daydreamer:
Please avoid write and compile expression x^2 in C because "^" is used for xor, if you want x*x

hutch--:
Hi hector,

This is how my 1950s arithmetic sees the formula.

    original => Y = a + b*X + c*X2

    my brain => Y = a + (b*X) + (c * (X * X))

Thanks for the explanation.  :thumbsup:

Navigation

[0] Message Index

[*] Previous page

Go to full version