Not all Linux have fpu_control.h (that's a glibc specific header)#102
Not all Linux have fpu_control.h (that's a glibc specific header)#102vitaut merged 1 commit intoampl:masterfrom
Conversation
A portable alternative could be fenv.h? I'm not sure if it's enough.
|
Thanks for the PR. For the reference, what system and standard library is causing the problem? |
|
Alpine Linux, which uses the musl libc by Rich Felker. The good thing is that most of those software are open-source, so we can see where it fails exactly and solve the issues. I'm glad AMPL's mp is such a software. Unfortunately AMPL itself isn't and there are no binaries for musl libc. I understand though that an open-source model for a company is hard to make work and profit from. In the future, who knows, maybe if musl starts getting more famous AMPL could provide musl binaries... Or even open source it all, although I think that's less likely in the short term. Anyway, thanks for the help. |
|
Merged, thanks! |
Normalize conditional comparisons for better unification, makes positive tolerance unnecessary in current tests
A portable alternative could be fenv.h? I'm not sure if it's enough.