Update ICU and msdfgen.

This commit is contained in:
bruvzg 2024-03-12 10:26:55 +02:00
parent 22c20cea6e
commit 0d02568ff8
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
53 changed files with 421 additions and 396 deletions

View file

@ -49,7 +49,7 @@ static int solveCubicNormed(double x[3], double a, double b, double c) {
x[2] = q*cos(1/3.*(t-2*M_PI))-a;
return 3;
} else {
double u = (r < 0 ? 1 : -1)*pow(fabs(r)+sqrt(r2-q3), 1/3.);
double u = (r < 0 ? 1 : -1)*pow(fabs(r)+sqrt(r2-q3), 1/3.);
double v = u == 0 ? 0 : q/u;
x[0] = (u+v)-a;
if (u == v || fabs(u-v) < 1e-12*fabs(u+v)) {