h$ r       Safe-Inferred3 DecimalArbitrary precision decimal type. Programs should do decimal arithmetic with this type and only convert to other instances of  DecimalRaw where required by an external interface. This will avoid issues with integer overflows.Using this type is also faster because it avoids repeated conversions to and from Integer.DecimalRaw decimal arithmetic type constructor. A decimal value consists of an integer mantissa and a negative exponent which is interpreted as the number of decimal places. The value stored in a  Decimal d is therefore equal to: *decimalMantissa d / (10 ^ decimalPlaces d)The Show& instance will add trailing zeros, so show $ Decimal 3 1500' will return "1.500". Conversely the Read instance will use the decimal places to determine the precision.DecimalConvert a real fractional value into a Decimal of the appropriate precision.Decimal Convert a  DecimalRaw from one base representation to another. Does not check for overflow in the new representation. Only use after using "roundTo" to put an upper value on the exponent, or to convert to a larger representation.Decimal Convert a  DecimalRaw# from one base to another. Returns Nothing* if this would cause arithmetic overflow.DecimalRound a  DecimalRaw to a specified number of decimal places. If the value ends in 5 then it is rounded to the nearest even value (Banker's Rounding) DecimalRound a  DecimalRaw to a specified number of decimal places using the specified rounding function. Typically this will be one of floor, ceiling, truncate or round . Note that roundTo == roundTo' round Decimal Divide a  DecimalRaw value into one or more portions. The portions will be approximately equal, and the sum of the portions is guaranteed to be the original value.The portions are represented as a list of pairs. The first part of each pair is the number of portions, and the second part is the portion value. Hence 10 dollars divided 3 ways will produce [(2, 3.33), (1, 3.34)]. Decimal Allocate a  DecimalRaw value proportionately with the values in a list. The allocated portions are guaranteed to add up to the original value.Some of the allocations may be zero or negative, but the sum of the list must not be zero. The allocation is intended to be as close as possible to the following: let result = allocate d parts in all (== d / sum parts) $ zipWith (/) result parts Decimal Multiply a  DecimalRaw by a RealFrac value. DecimalTry to convert Rational to Decimal with absolute precision return string with fail description if not convertedDecimalReduce the exponent of the decimal number to the minimal possible value       $Decimal-0.5.2-LxiRIURWsaF1BGTiiBCjNK Data.DecimalDecimal DecimalRaw decimalPlacesdecimalMantissarealFracToDecimalunsafeDecimalConvertdecimalConvertroundToroundTo'divideallocate*.eitherFromRationalnormalizeDecimal$fRealFracDecimalRaw$fRealDecimalRaw$fNumDecimalRaw$fOrdDecimalRaw$fEqDecimalRaw$fReadDecimalRaw$fShowDecimalRaw$fEnumDecimalRaw$fNFDataDecimalRaw$fFractionalDecimalRaw