Content
i8 u8 116 M16 132 u32 164 064 1128 u128 isizeusize f64 f32 Integer? Float? Don’t worry, just give me the number and I’ll do the math. There are 14 built-in types for numbers, and if you want your function to accept more than one type as valid input, you can either try to figure out how traits work, or you can burn in the flames of hell, which is equally painful.