Linus Torvalds writes: (Summary) wrote:
Note that the number of people who actually look at the si_code is approximately zero.
approximately zero.
But the ones that _do_ check the si_code are certainly not going to check it against a new code that they don't know about. I suspect that if you start searching for FLT_xyz occurrences in code, approximately 100% of them are from the kernel code that generates them, not from any actual users.
them, not from any actual users.
So I'd be very surprised if you can find *anybody* who cares about that exact value (with the possible exceptions of test-suites).
[...]
operation from the FP hardware?Note that the number of people who actually look at the si_code is approximately zero.
approximately zero.
But the ones that _do_ check the si_code are certainly not going to check it against a new code that they don't know about. I suspect that if you start searching for FLT_xyz occurrences in code, approximately 100% of them are from the kernel code that generates them, not from any actual users.
them, not from any actual users.
So I'd be very surprised if you can find *anybody* who cares about that exact value (with the possible exceptions of test-suites).