Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25518
| From | Lew <noone@lewscanon.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: JLS 3/e -- Lots Of Errors |
| Date | 2011-02-05 09:43 -0500 |
| Organization | albasani.net |
| Message-ID | <iijnm4$d5j$1@news.albasani.net> (permalink) |
| References | <iiflvc$keg$2@lust.ihug.co.nz> <iijg0g$rrc$4@lust.ihug.co.nz> |
On 02/05/2011 07:32 AM, Lawrence D'Oliveiro wrote: > * Section 5.1.8, page 88: no mention of what happens when you unbox a NaN > (the previous page said only that the boxed object had isNaN() evaluating to > true, no mention of what floatValue() or doubleValue() might return). Nor is such a mention required, therefore its omission is not an error. However, it's pretty clear that if 'isNan()' is true, then 'doubleValue()' must return 'Double.NaN'. That's an API issue and not strictly something to find in the JLS. So far not one of the things you've cited as an error has actually been an error in the JLS. There've been some things difficult to understand, and you've made some errors, but none have actually come from the JLS. -- Lew Ceci n'est pas une fenĂȘtre. .___________. |###] | [###| |##/ | *\##| |#/ * | \#| |#----|----#| || | * || |o * | o| |_____|_____| |===========|
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
Re: JLS 3/e -- Lots Of Errors Lew <noone@lewscanon.com> - 2011-02-05 09:43 -0500
Re: JLS 3/e -- Lots Of Errors Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:48 +1300
Re: JLS 3/e -- Lots Of Errors Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-06 22:00 -0500
Re: JLS 3/e -- Lots Of Errors Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 19:12 +1300
csiph-web