1. A method, comprising: receiving, by a processing unit, a single instruction that specifies an arithmetic operation to be performed on input data to generate an intermediate output value of a first numeric type and an output casting operation that specifies a second numeric type, wherein the first numeric type corresponds to a first numeric resolution and a first dynamic range and the second numeric type corresponds to a second numeric resolution and a second dynamic range; performing the arithmetic operation on the input data by the processing unit to generate the intermediate output value; and upon determining that the single instruction specifies the output casting operation, casting the intermediate output value of the first numeric type into an output value of the second numeric type.