Change Real -> LongDouble in math. Remove redundant min/max.
Change Real -> LongDouble in math. Remove redundant min/max.

jckarter/clay,aep/clay,mario-campos/clay,jckarter/clay,aep/clay,mario-campos/clay,jckarter/clay,aep/clay,jckarter/clay,iamrekcah/clay,iamrekcah/clay,aep/clay,iamrekcah/clay,aep/clay,jckarter/clay,jckarter/clay,aep/clay,mario-campos/clay,mario-campos/clay,iamrekcah/clay,iamrekcah/clay,mario-campos/clay