TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Geo.
from: Tony Ingenoso
date: 2002-11-08 22:40:04
subject: Re: i have guilt

From: "Tony Ingenoso" 

There's four available founding modes in 754 standard.  up, down, nearest,
and chop to zero.

Its entirely up to the applications to set the most appropriate rounding
mode for the task at hand.  In extreme cases, you may be changing it
constantly between NPX calc operations.  If you don't explicitly set this
to what you want, you may get answers other than what you want ;->

"Geo."  wrote in message news:3dcc5761{at}w3.nls.net...
> what asshole committee came up with that? It's not even consistent? What
> does it do on Feb 29th?
>
> Geo.
>
> "Rich"  wrote in message news:3dcbfdfe$1{at}w3.nls.net...
>    .NET follows IEEE 754 which specifies round to nearest as round to even.
> 3.45 rounds to 3.4.  3.55 rounds to 3.6.  You can look up IEEE 754 on the
> web if you are not familiar.
>
> Rich
>
>   "chad"  wrote in message
> news:3dcbd8a3{at}w3.nls.net...
>   i feel all dirty for making a post so pro microsoft like i did before (in
>   the anti MS rant thread.)  they really are evidence of the adage: absolute
>   power corrupts absolutely.
>
>   so i just got this from one of the development vp's in my company, in an
>   email entitled "only in Microsoft software."  i figured i
would send it
>   along, to help cleanse myself.
>
>   .NET's Math.Round function rounds "down" 0.5 (i.e. 3.45
rounds to 3.4)
>   SQL Server's decimal-rounding rounds "up" 0.5 (i.e. 3.45
rounds to 3.5)
>
>   Another "win" for MS :(
>
>   chad - feeling a little better now
>
>
>

--- BBBS/NT v4.01 Flag-4
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/1.45)
SEEN-BY: 3/2 10 106/1 120/544 123/500 379/1 633/260 267 270 285 774/0 605
SEEN-BY: 2432/200
@PATH: 379/1 106/1 123/500 774/605 633/260 285

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.