Guylaine prat wrote:
> So, if someone can tell me if this code is ANSI compliant
I seriously doubt that a compiler would have such a blatant bug
(1.797693134862316E+308 is the value of HUGE, not EPSILON), however,
that said, Salford (one of the many compilers) has been known to have
problems with initialization of module variables. I would suggest
trying a simple test to make sure that it is not your program that has
some tricky bug. Use the compiler checking switches (-check or alike).
Best,
Aleksandar
|