News for hackers. Stuff that matters.
Re:Libui: a portable GUI library for C by stochastic_monk on Saturday May 19, 2018 @09:36PM (#17110686)
With that many digits, uiPi should definitely have an L suffix.
Re:Libui: a portable GUI library for C by andlabs on Monday May 21, 2018 @01:12PM (#17119947)
Except 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...)