assert(0.abs == 0); assert(1.abs == 1); assert((-1).abs == 1); assert((-128).abs!byte == 128);
See Implementation