use cmath::equals