3 ms·
With that many digits, uiPi should definitely have an L suffix.
by stochastic_monk 8y ago
With that many digits, uiPi should definitely have an L suffix.
- andlabs 8y agoExcept that would make uiPi a long double, whereas every drawing API in libui just takes a double. Now as to whether the drawing APIs should use long double instead of double, I don't know; I will say that both cairo and Quartz/Core Graphics use double, so... (And on Windows, Direct2D takes floats, so at least on that platform, it's probably not going to make a difference at all...)