Python Float and Complex Numbers (Theory of Python) (Python Tutorial)

Опубликовано: 09 Июль 2019
на канале: Real Physics
4,314
122

Let's review the number system in math. Note that we can never represent irrational numbers in binary. We instead use floats to roughly estimate rational numbers. IEEE 754 is the standard definition for floats. Python float literals need a decimal point or e/E (or both). Complex numbers can be formed with the imaginary literal.

Support me by buying from Amazon through my affiliate link: https://amzn.to/2FBNVwA

Here's my Patreon account if you want to give me money:   / realphysics  

Other ways to support Real Physics:    • How to Support Real Physics  

Playlist:    • Theory of Python  

Thank you!