tubeshowcase●1,126,073 videos♡ My collection 0
← Learn to Code

Learn to Code16:11

Extending Python's Number hierarchy

mCoding ↗

From the creator

Try Brilliant: https://brilliant.org/mCoding/ Complex rational numbers. Say you wanted to implement your own custom number type in Python, how would you do it? In this video, we'll take a look at a custom implementation of an infinite precision number type for complex numbers with rational components, aka "Gaussian rationals". ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosSampleCode Slots video: https://youtu.be/Iwf17zsDAnY Fast pow video: https://youtu.be/GrNJE6ogyQU New vs init video: https://youtu.be/-zsV0_QrfTw Python numbers docs: https://docs.python.org/3/library/numbers.html Python stdtypes docs: https://docs.python.org/3/library/stdtypes.html SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! https://patreon.com/mCoding Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.) https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Want to donate crypto? Check out the rest of my supported donations on my website! https://mcoding.io/donate Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, Neel R, Matt R, Johan A, Casey G, Mark M, Mutual Information BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james

Published 2023-01-30 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code