Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2088
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | mathar@mathar.mpia-hd.mpg.de (mathar) |
| Newsgroups | comp.lang.java.help |
| Subject | java.lang.Float.MAX_EXPONENT cannot be resolved |
| Date | Mon, 10 Sep 2012 10:15:43 +0000 (UTC) |
| Organization | Max-Planck Institut fuer Astronomie |
| Lines | 35 |
| Message-ID | <k2kekf$krj$1@speranza.aioe.org> (permalink) |
| Reply-To | mathar@mpia.de |
| NNTP-Posting-Host | 1AsQNbr3JcXuMEK2D471hA.user.speranza.aioe.org |
| X-Complaints-To | abuse@aioe.org |
| X-newsreader | xrn 10.00-beta-3 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.java.help:2088 |
Show key headers only | View raw
Under openSuse, the following program says that
int indx8 = java.lang.Float.MAX_EXPONENT ;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 problem (1 error)
after javac t.java where t.java contains
package de.viper_ag.util ;
// import java.lang.Float ;
public class t {
private void init()
{
// int indx8 = Float.MAX_EXPONENT ;
// int indx8 = MAX_EXPONENT ;
int indx8 = java.lang.Float.MAX_EXPONENT ;
// indx8 = java.lang.Math.getExponent(java.lang.Float.MAX_VALUE) ;
}
}
java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (suse-9.1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
This type of error does not occur with Fedora-9 or Fedora-14 distributions.
Any workaround for this?
--
http://www.mpia.de/~mathar
Back to comp.lang.java.help | Previous | Next — Next in thread | Find similar | Unroll thread
java.lang.Float.MAX_EXPONENT cannot be resolved mathar@mathar.mpia-hd.mpg.de (mathar) - 2012-09-10 10:15 +0000 Re: java.lang.Float.MAX_EXPONENT cannot be resolved "John B. Matthews" <nospam@nospam.invalid> - 2012-09-10 07:58 -0400 Re: java.lang.Float.MAX_EXPONENT cannot be resolved Lew <lewbloch@gmail.com> - 2012-09-10 11:00 -0700 Re: java.lang.Float.MAX_EXPONENT cannot be resolved Roedy Green <see_website@mindprod.com.invalid> - 2012-09-11 09:04 -0700
csiph-web