Comparing Floating Point Numbers in Java
Lewis explains why you should never compare floating point numbers for equality.
Lewis explains why you should never compare floating point numbers for equality.
A quick overview of the primitive floating point types in Java, and how to print the mantissa and exponent.
Lewis looks at how floating point numbers are represented in computer memory, and introduces the problem of quantitization error.
Lewis explains how integral numbers are represented in computer memory. Java has four primitive integral data types.
Programmers need to understand how numbers are represented in computer memory. This knowledge is useful during debugging. Lewis starts with a recap of how positional numbering works.
Lewis discusses default, static and private methods in Java interfaces.
Lewis introduces a new enhancement in Java: statements before super()
Lewis explains the instanceOf operator for pattern matching, and how to use the JEP documents to keep informed of new Java developments.
Lewis gets curious: which JVM/JDK versions are developers actually using, and from which manufacturers? He takes a look at various reports.
The Law of Demeter is a guideline for software design. It is also known as the principle of least knowledge. Simply put: “*Only talk to your immediate friends, don’t talk to strangers*.”
Stay home. Stay safe. Stay informed. Find information at www.sacoronavirus.co.za
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com