Table of Contents

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

atof
atoi
getMax
getMin
mAbs
mAcos
mAsin
mAtan
mCeil
mClamp
mClampF
mCos
mDegToRad
mFloatLength
mFloor
mLog
mPow
mRadToDeg
mSin
mSolveCubic
mSolveQuartic
mSqrt
mTan

References

This function is not called by any other functions.