30 Sep
2005
30 Sep
'05
4:36 p.m.
Hmm, what does C99 say about this, I can see anything obvious at first glance? Your suggestion matches what the complex number functions are required to do however, so it's probably in there somewhere, I just can't see it at present. I'm not sure I handle range errors correctly either (setting errno that is).
Never mind, I've found it in Annex F. John.