Site Tools


scripting:doc:u:u:msolvequadratic

mSolveQuadratic

(float a, float b, float c)Solve a quadratic equation of form a*x^2 + b*x + c = 0.

@returns A triple, contanining: sol x0 x1. sol is the number of solutions (being 0, 1, or 2), and x0 and x1 are the solutions, if any. Unused x's are undefined.

Syntax

string mSolveQuadratic(float %a, float %b, float %c);

Parameters

float %a
No description available.

float %b
No description available.

float %c
No description available.

Return value

string
No description available.

Remarks

Examples

Source

Engine

See also

References

This function is not called by any other functions.

scripting/doc/u/u/msolvequadratic.txt · Last modified: by 127.0.0.1