Subject: Re: Encoding of doulbes by xdr
To: J.T. Conklin <email@example.com>
From: Kent Vander Velden <firstname.lastname@example.org>
Date: 03/21/1995 22:12:03
In message <199503212014.MAA25895@netcom20.netcom.com>, email@example.com wri
>> Has anyone else noticed the xdr library does not seem to encode doubles
>> properly? At least this seems to be the case with version 12.1 of libc.
>Do you have some example code that fails? On what architecture are you
xdr_buffer = (char*)malloc(nbytes);
xdrmem_create(&xdrs, xdr_buffer, nbytes, XDR_ENCODE);
xdrmem_create(&xdrs, xdr_buffer, nbytes, XDR_DECODE);
printf("before encoding=%f\nafter encoding=%f\n", x, y);
>I tested this extensively when I first made it work, but it is
>possible that someone's broken it since then.
>I'll take a look.
I noticed and a friend pointed out that xdr_float.c was updated in the last
couple of days. The last time that I built and installed current was on March
Kent Vander Velden