SUSv3 says "infinity shall be converted in one of the styles "[-]inf" or "[-]infinity" ; which style is implementation-defined." Unfortunately, MS can't change their broken, made up garbage without breaking their compatibility with folk who have coded to it. I'm rather surprised that Solaris is broken, though.
| [reply] |
You could check the standards document for C, and cross-check the IEEE arithmetic standard, which I think is IEEE 754.
This could work, especially if you can be reasonably sure that the C-compiler being used is actually standards-compliant, and the standard doesn't say something like "it's up to the compiler builder," which it almost certainly does, so the likely short answer to your question is "No." You may (probably will) have to take this up with members of the numerical analysis community, where they deal with this sort of issue all the time.
emc
Information about American English usage here and here.
Any Northeastern US area jobs? I'm currently unemployed.
| [reply] |