restoring good constants definition for nan inf minf
and fixing unit for #179 in core/euler