| |
comp.lang.c |
In article <377738B4.97C7...@hls.via.at>, > On many platforms it is possible to replace the > What are the conditions that this will not yield the -- Sent via Deja.com http://www.deja.com/
Helmut Leitner <leit...@hls.via.at> wrote:
> (e.g. int, long, float, double ...).
> comparisions
> a==b
> a!=b
> by
> memcmp(&a,&b,sizeof(a))==0
> memcmp(&a,&b,sizeof(a))
> desired results?
a) holes in data type representation
b) +0 and -0 for one's complement platforms
Regards,
Alex Krol
Disclaimer: I'm not speaking for Scitex Corporation Ltd
Share what you know. Learn what you don't.