You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New zero coefficient stripping and solve_quadratic implementation.
General effort to implement better 'effective zero' coefficient handling.
Created new POV_DBL_EPSILON macro value which is 2x the C++ standards <float
type>_EPSILON value and updated PRECISE_EPSILON to be 2x the single bit
epsilon as well.
Zero filtering in polysolve now looks at all polynomial coefficients and
either sets 'effective zeros' to exactly 0.0 or strips them if they are leading
coefficients.
The much more accurate near zero coefficients drove the need for a better
solve_quadratic implementation included with this commit. Note it supports
the PRECISE_FLOAT options like polysolve.
Zero filtering in solve_quadratic, solve_cubic and solve_quartic now standardized
both in implementation and use of POV_DBL_EPSILON.
0 commit comments