Re: [opendemo-devel] AddFloat corrected
Status: Beta
Brought to you by:
girlich
From: Conor D. <co...@ma...> - 2001-09-22 05:08:42
|
Were they really different to begin with? The changelog for Q3A 1.25y says that they unified the float-to-int conversions, which I took to mean they made everything round down. Apparently this is not the case? -Conor ----- Original Message ----- From: "Dr. Uwe Girlich" <Uwe...@ph...> To: "OpenDemo Development List" <ope...@li...> Sent: Friday, September 21, 2001 6:40 PM Subject: [opendemo-devel] AddFloat corrected > Hello! > > AddFloat() contained one of the first problems I ever solved for OpenDemo: > A type conversion with LCC (for bytecode) like > float f; > int i; > i = (int)f; > rounds the value sometimes up and does not always round down like GCC and > most other compilers do. > I had a correction for this in bg_lib.c but it somehow disappeared. > > Now it works again and two servers with bytecode or Linux native libraries > (without any logged in clients, simply dedicated server of q3dm0) generate > the exact identical recording file. Only configstring index="0" is different > (ordering problem, I'll look into it). > > Bye, Uwe |