Eric Richards

Greenhorn
+ Follow
since Apr 30, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Eric Richards

Last night I asked a very simple question I am very sorry my choose of words (a word that started with 'd') did not suite some people here but I NEVER insulted anybody at this forum, yet three members of this forum choose to publicly insult me here.


I feel this could of been fixed up a lot better than the way it was haddled by the moderator and the two other members,

I would like to say if I was offended by the language used at this forum I would not stick my boot and made my feelings public as these three people did I would forget it and "got on with life"

And that is were the difference lyes, I may of used a word starting with 'd' if anybody else had of used I would of moved on and left the rest to the moderator if he or she had felt their posting need to be fixed up.
16 years ago
What a pity some comment like this was not added to the book, I thought it was strange it should be n/a so I had to waste time looking somewhere else.

Originally posted by marc weber:
Welcome to JavaRanch!

Floating-point primitives (float and double) use IEEE 754 standards, and their range comes at the expense of precision. These details are beyond the scope of the SCJP exam, so "n/a" is probably appropriate for a study guide.

(Also, note that float and double types can represent negative or positive infinity.)

16 years ago
yes it is just that each time I look at the table, it reminds me, to use true or false for boolean and not 1 or 0.

Originally posted by marc weber:

Keep in mind that Java boolean types are not "numeric." Unlike some languages, you cannot treat these as zeros and ones. Also, the size of a Java boolean is not specified.

16 years ago
Here is a strange problem page 50 of �SCJP� by Kathy Sierra & Bert Bates
Table of �range of numeric primitives�

For float & double the �minimum range� and �maximum range� has got �n/a�

while in another book the range has
1.4E-45 to 3.4E+38 for float
and
4.9E-324 to 1.7E+308 for double

By the way I know this might said strange I have added on to the table
Boolean �true� of �false�
[ October 05, 2007: Message edited by: Eric Richards ]
16 years ago