Real numbers can be in decimal or scientific format as shown in the example below.
When written with a decimal point, there must be at least one number on either side of the point. A real number is converted to an integer by rounding to the nearest integer. An arithmetic operation is treated differently depending on the data type of the operand. A register operand is treated as an unsigned value and an integer value is treated as a signed value. Therefore if a negative value, such as -4'd12, is assigned to a register, it will stored as a positive integer which is its 2's complement value.