Article View: borland.public.jbuilder.java.language
Article #7356Re: Newbie Truncate question
From: Mark Griffiths
Date: Sun, 24 Jun 2001 14:50
Date: Sun, 24 Jun 2001 14:50
11 lines
1333 bytes
1333 bytes
> > Since when does casting round?? > > The Java Language Specification uses the terminology from the IEEE 754 > floating point spec. Java uses "round toward zero" as opposed to > "round to nearest". What it calls "round toward zero" is often > referred to as truncation. oops.. sorry to all.. I misinterpreted 'round toward zero'. -- Mark
Technical Details
Message-ID:
<3b35fe19$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!195.21.255.252!unlisys!news.snafu.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnewsReferences:
<3b2f52a0_1@dnews> <3b327232$1_2@dnews> <3b32fc72$1_1@dnews> <3b34c1a3$1_2@dnews> <MPG.159f70098c2c2fe498a2d7@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,568d12e56ba0c6bd X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-24 08:06:27 PST From: "Mark Griffiths" <mark@chive.com> Newsgroups: borland.public.jbuilder.java.language References: <3b2f52a0_1@dnews> <3b327232$1_2@dnews> <3b32fc72$1_1@dnews> <3b34c1a3$1_2@dnews> <MPG.159f70098c2c2fe498a2d7@forums.borland.com> Subject: Re: Newbie Truncate question Date: Sun, 24 Jun 2001 15:50:09 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.122.35.86 Message-ID: <3b35fe19$1_1@dnews> X-Trace: dnews 993394201 213.122.35.86 (24 Jun 2001 07:50:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!195.21.255.252!unlisys!news.snafu.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews