pub fn sqr<T>(val: T) -> f64where T: ToF64,
Square a value (matches C++ template inline double Sqr(T val)) Direct port from clipper.core.h line 611