I'm pretty sure Riot programmers failed math in high school.
When you're Aurelion Sol and you only have AP runes/masteries and items yet you still do 300 damage to towers. Or when you're Renekton with a long sword and you auto an Ekko once and do half his health. The math there is just perfect.