Skip to content

testmatrix.c: use G_SQRT2 insead of M_SQRT2

Jordan Petridis requested to merge alatiera/pango:alatiera/msvc-tests into master

Math implementations are platform dependent, and for example msvc requires a define before enabling the constants [1]

Use G_SQRT2 implementation which is independent instead.

[1] https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160

Edited by Jordan Petridis

Merge request reports