C
Chris Croughton
Could someone who has access to the C89 specification please confirm
whether the type long double existed in that spec.? The only copy I
have is from the early draft stages, and it wasn't in that (tatty paper
copy). I have tests in some of my source code from the early 90s to
detect whether long double was present (including float.h and testing
for some of the macros), but that may have been for non-conforming
compilers.
(gcc -std=c89 -pedantic accepts it, so it may well be OK, unless gcc has
it as an un-noticed extension...)
Thanks,
Chris C
whether the type long double existed in that spec.? The only copy I
have is from the early draft stages, and it wasn't in that (tatty paper
copy). I have tests in some of my source code from the early 90s to
detect whether long double was present (including float.h and testing
for some of the macros), but that may have been for non-conforming
compilers.
(gcc -std=c89 -pedantic accepts it, so it may well be OK, unless gcc has
it as an un-noticed extension...)
Thanks,
Chris C