About

I am a software developer in Seattle, building a new AI software company.

Ads

May 2012

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Ads


« Floating Point Arithmetic | Main | Comment Spam and "NoFollow" »

January 20, 2005

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8345242f069e200d83458241069e2

Listed below are links to weblogs that reference Floating Point Arithmetic, II:

» .NET Math from Locuras diarias...
Hay algunas cosas que no termino de entender. Toda mi vida me explicaron que si redondeo 2.5 el resultado es 3. Resulta que según Microsoft y su 'nueva' (ya hace un par de años que está disponible) plataforma de desarrollo el redondeo de 2.5 == 2.... [Read More]

Comments

Andrés Villanueva

Hi!
I've been trying to find out for quite some time why is it that .NET rounds 2.5 to 2 instead of 3, given that other ms software usually do otherwise. (i.e.: SQL Server).
If it's not asking too much, can ask you to explain a little further? or point out where to find information on the subject?

Regards,
Andrés

The comments to this entry are closed.