Swapped terms as L suffixes integers, not doubles
Swapped terms to follow order of types from least to most flexible
Fixed typo