finally I was able to come up with a rather concise test that works with float, double and long double; especially the aliasing due to rounding could be demonstrated, and the precision limit is made plausible. Interestingly, `std::fabs()` really works precise enough so that a very large positive domain can be implemented and tested with exact match
13 MiB
13 MiB
| The file is too large to be shown. |