Followers

Monday, August 10, 2020

Floating Point Numbers - Numbers(Data Types)

Hello Friends, Welcome to our Website Python11. Today we will talk about Floating-Point Numbers which is a Subheading of Numbers. 


To understand this New topic you need to First read our last post which was on :







Floating Point Numbers 


A Number having a fractional part is a floating - point number. For example, 3.14159 is a floating - point number. The decimal point signals that it is a floating - point number, not an integer. The number 12 is an integer, but 12.0 is a floating point number.
Fractional Numbers can be written in two forms :-

  1. Fractional Form (Normal Decimal Notation) e.g., 3500.75, 0.000005, 147.9101 etc. 
  2. Exponent Notation e.g., 3.50075E03, 0.5E, 1.4784569E02 etc. 
Floating point variables represent real numbers, which are used for measurable quantities like distance, area, temperature etc. and typically have a fractional part. 
Floating point numbers have two advantages over integers:

  • They can represent values between the integers.
  • They can represent a much greater range of values.
But floating point numbers suffer from one disadvantage also :

  • Floating point operation are usually slower than integer operations.
In Python, floating point numbers represent machine level double precision floating point numbers (15 digit precision). The range of these is limited by underlying machine architecture subject to available (virtual) memory. 

So with this, we end with this Topic, don't forget to follow me so that you can get the latest updates of my new posts that I upload weekly, I will try my best to upload daily OR you can Sign up for Newsletters at the top of the Blog and that will give you E-mail updates of my New Post.
Jai Hind!!!!

Vande Mataram!!! 

No comments:

Post a Comment

If you have any doubts, please do let me Know.