Try Brilliant:
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 ()
Source code:
Slots video:
Fast pow video:
New vs init video:
Python numbers docs:
Python stdtypes docs:
SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!
Feeling generous but don’t have a Patreon? Donate via PayPal! (No sign up needed.)
Want to donate crypto? Check out the rest of my supported donations on my website!
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:
Github:
Reddit:
Facebook:
CHAPTERS
---------------------------------------------------
0:00 Intro
1:21 Start of implementation
4:00 Arithmetic operations
11:32 Hash and equality
15:13 Thanks to Brilliant
4 views
3
0
2 months ago 00:13:10 1
VIOLENT PRAYERS AGAINST WITCHES & AGENTS OF SATAN
2 months ago 00:11:05 1
Israel’s Iron Dome is TOAST and this confirms it.
2 months ago 00:02:31 1
The Heart
2 months ago 01:00:30 2
Djs Vibe - Intense Trance Mix 10 (October 2024)
2 months ago 00:08:16 1
Boris Brejcha - 16 Red Even (Extended Live Version Re-Build)
3 months ago 00:04:43 1
PYTHON PROGRAMMERS!! We Automated What You Do on ChatGpt Everyday!
3 months ago 00:53:42 1
The Most Evil Thing I Have Ever Seen – with Ret. Marine Jim Webb
3 months ago 00:00:00 1
World The Trance 754 [Special Uplifting] (mixed by MARCHET - )
3 months ago 00:21:12 5
35 ФАКТОВ и ПАСХАЛОК ► BLACK MESA
4 months ago 00:01:01 1
“Perfection in imperfection“ | 100K+ frames in 60 seconds #maths #goldenratio #art #geometry #adhd
4 months ago 01:54:05 1
Boris Brejcha - Unreleased Extended Fix Compilation (Part IV) [2024]
5 months ago 02:07:51 7
Building a Scalable Terrain Biome Pipeline | Twan de Graaf | EPC 2024
5 months ago 00:00:17 1
😮💯 Hard work #Shorts
6 months ago 01:16:33 1
Terrifying Giant PYTHON Attacks Duckling Farm - Harvest Cucumbers Goes to Market Sell | Garden Life
7 months ago 00:20:41 1
Comfortably Numb, Time, Money covers of Pink Floyd at Campo de Fiori (Giordano Bruno) - Roma, Italy
7 months ago 00:04:17 1
Use Python to Enhance The Godot Game Engine
7 months ago 00:47:37 1
Boris Brejcha 2024 Full Mix
9 months ago 00:05:18 1
Vengerov, DJ Noiz & Peyton — Be The Sun (Original Extended Mix)
9 months ago 00:14:40 4
why you are so tired
10 months ago 00:12:35 1
The Making of BSD: The ACTUAL World’s First Open-Source Operating System?
10 months ago 00:02:43 1
The Adventures of Baron Munchausen (3/8) Movie CLIP - The Cannonball Ride (1988) HD
11 months ago 00:06:23 1
Brigado Crew & MAC:ANNÂ - Existence (Original Mix) [Siona Records]
11 months ago 00:01:43 22
PYTHON-5: 5th Gen Dual-Use Air-to-Air and Air Defense Missile