Re: [sage-devel] Whats the plan for random doctests with floating point numbers?

2021-12-30 Thread David Roe
We already have a relative tolerance check available: sage: print("0.")# rel tol 1e-4 1.0 sage: print("1.1") # abs tol 1e-5 1.0 David On Thu, Dec 30, 2021 at 2:42 PM tobia...@gmx.de wrote: > It would also be an idea to replace these absolute tolerance tests, i.e. > abs(x - y) <

Re: [sage-devel] Whats the plan for random doctests with floating point numbers?

2021-12-30 Thread tobia...@gmx.de
It would also be an idea to replace these absolute tolerance tests, i.e. abs(x - y) < something, by a relative tests abs(x-y)/x < something. In general, this should be more stable. Such an approach is used by pytest, see https://docs.pytest.org/en/6.2.x/reference.html#pytest-approx. Maybe this

Re: [sage-devel] Docker images no longer being build and is gitlab still maintained?

2021-12-30 Thread Matthias Koeppe
I have opened https://trac.sagemath.org/ticket/33099 for this. On Saturday, December 4, 2021 at 9:08:19 AM UTC-8 Dima Pasechnik wrote: > One way or another, it's probably a good idea to run the builder on GH > Actions - translating one yml to another should be doable. > > > On Sat, 4 Dec 2021,