X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fprelude%2Fprimops.txt.pp;h=ece7755763ae8619467d0a296b6d096ce2c0f77b;hp=7bb1ca1beb075a5e87b367cfcd1edea10b530f83;hb=1bca92d715d8b358ee83ff5ee0bc085bec063e59;hpb=dd56e9ab4544e83d27532a8d9058140bfe81825c diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index 7bb1ca1..ece7755 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -725,16 +725,9 @@ primop FloatPowerOp "powerFloat#" Dyadic primop Float2DoubleOp "float2Double#" GenPrimOp Float# -> Double# -primop FloatDecodeOp "decodeFloat#" GenPrimOp - Float# -> (# Int#, Int#, ByteArray# #) - {Convert to arbitrary-precision integer. - First {\tt Int\#} in result is the exponent; second {\tt Int\#} and {\tt ByteArray\#} - represent an {\tt Integer\#} holding the mantissa.} - with out_of_line = True - primop FloatDecode_IntOp "decodeFloat_Int#" GenPrimOp Float# -> (# Int#, Int# #) - {Convert to arbitrary-precision integer. + {Convert to integers. First {\tt Int\#} in result is the mantissa; second is the exponent.} with out_of_line = True