MailRuChamps / raic-2018

Russian AI Cup — artificial intelligence programming contest. Official website: http://russianaicup.ru
43 stars 32 forks source link

Float and decimal precision selection for calculations #10

Closed MelnikovIG closed 5 years ago

MelnikovIG commented 5 years ago

Which one i should use for calculations? Double or Float? Which one is used on server side?

kuviman commented 5 years ago

Server uses 64-bit floats

MelnikovIG commented 5 years ago

@kuviman Thanks, so server use https://en.wikipedia.org/wiki/Double-precision_floating-point_format For Java and C# developers it will be double type. Is it correct?

kuviman commented 5 years ago

@MelnikovIG Yes