About Question enthuware.ocajp.i.v8.2.2018 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
SLangella
Posts: 6
Joined: Sun Aug 26, 2018 1:06 pm
Contact:

About Question enthuware.ocajp.i.v8.2.2018 :

Post by SLangella »

Hello, there is an error in the Explanation, I think...
It says:
"Similarly, when any of the operands is of type long, the result will be a long and if any of the operands is a float or a double, the result will be a double. "
But the JLS says (and the compiler behave so):
"If at least one of the operands to a numerical operator is of type double, then the operation is carried out using 64-bit floating-point arithmetic, and the result of the numerical operator is a value of type double. If the other operand is not a double, it is first widened (§5.1.5) to type double by numeric promotion (§5.6).

Otherwise, the operation is carried out using 32-bit floating-point arithmetic, and the result of the numerical operator is a value of type float. (If the other operand is not a float, it is first widened to type float by numeric promotion.)".

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Post by admin »

You are right. Fixed.
thank you for your feedback!

flex567
Posts: 202
Joined: Mon Apr 02, 2018 8:40 am
Contact:

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Post by flex567 »

You are right. Fixed.
thank you for your feedback!
Is this fixed allready?

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Post by admin »

Yes, it has been. Please download the latest version of the question bank.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests