Nope, `getMass(1.0)` and similar is not allowed since this might result in over/underflows.

But public static const definitions for that attributes with double precision would be fine.