Changes between Version 2 and Version 3 of ReplacingGMPNotes/RequiredIntegerFunctions


Ignore:
Timestamp:
Jan 5, 2007 11:51:54 PM (7 years ago)
Author:
p_tanski
Comment:

add encodeDouble; some notes

Legend:

Unmodified
Added
Removed
Modified
  • ReplacingGMPNotes/RequiredIntegerFunctions

    v2 v3  
    88 
    99|| '''Module/Class''' || '''Haskell Function''' || '''Notes''' || 
    10 || GHC.Num || (+) || ||  
    11 || GHC.Num || (-) || ||  
    12 || GHC.Num || (*) || ||  
    13 || GHC.Num || div || ||  
    14 || GHC.Num || negate || ||  
     10|| GHC.Num || (+) || rts/PrimOps.cmm --> Haskell ||  
     11|| GHC.Num || (-) || rts/PrimOps.cmm --> Haskell ||  
     12|| GHC.Num || (*) || rts/PrimOps.cmm --> Haskell ||  
     13|| GHC.Num || div || rts/PrimOps.cmm --> Haskell ||  
     14|| GHC.Num || negate || rts/PrimOps.cmm --> Haskell ||  
    1515|| GHC.Num || abs ||  ||  
    1616|| GHC.Num || signum ||  ||  
    17 || GHC.Num || subtract || ||  
    18 || GHC.Num || even || ||  
     17|| GHC.Num || subtract || rts/PrimOps.cmm --> Haskell ||  
     18|| GHC.Num || even || rts/PrimOps.cmm --> Haskell ||  
    1919|| GHC.Num || odd ||  ||  
    20 || GHC.Num || gcd || ||  
    21 || GHC.Num || lcm || ||  
     20|| GHC.Num || gcd || rts/PrimOps.cmm --> Haskell ||  
     21|| GHC.Num || lcm || rts/PrimOps.cmm --> Haskell ||  
    2222|| GHC.Num || {{{(^)}}} || need exceptions for overflow ||  
    2323|| GHC.Num || {{{(^^)}}} || need exceptions for overflow ||  
     
    3232|| GHC.Float || encodeFloat || rts/StgPrimFloat.c --> linked in directly? || 
    3333|| GHC.Float || decodeFloat || rts/StgPrimFloat.c --> rts/Rts.h --> !PrimOps.cmm ||  
     34|| GHC.Float || encodeDouble || rts/StgPrimFloat.c --> linked in directly? || 
    3435|| GHC.Float || decodeDouble || rts/StgPrimFloat.c --> rts/Rts.h --> !PrimOps.cmm || 
    3536|| Data.Bits || (.&.) ||  || 
     
    5556 
    5657|| '''Module/Class''' || '''Haskell Function''' || '''Notes''' || 
    57 || GHC.Prim || integer2Int || from rts/PrimOps.cmm || 
    58 || GHC.Prim || integer2Word || from rts/PrimOps.cmm || 
    59 || GHC.Prim || int2Integer || from rts/PrimOps.cmm || 
    60 || GHC.Prim || word2Integer || from rts/PrimOps.cmm || 
    61 || GHC.Prim || int64ToInteger || from rts/PrimOps.cmm || 
    62 || GHC.Prim || word64ToInteger || from rts/PrimOps.cmm || 
    63 || GHC.Prim || decodeDouble || from rts/PrimOps.cmm || 
    64 || GHC.Prim || decodeFloat || from rts/PrimOps.cmm || 
     58|| GHC.Prim || integer2Int# || from rts/PrimOps.cmm || 
     59|| GHC.Prim || integer2Word# || from rts/PrimOps.cmm || 
     60|| GHC.Prim || int2Integer# || from rts/PrimOps.cmm || 
     61|| GHC.Prim || word2Integer# || from rts/PrimOps.cmm || 
     62|| GHC.Prim || int64ToInteger# || from rts/PrimOps.cmm || 
     63|| GHC.Prim || word64ToInteger# || from rts/PrimOps.cmm || 
     64|| GHC.Prim || decodeDouble# || from rts/PrimOps.cmm || 
     65|| GHC.Prim || decodeFloat# || from rts/PrimOps.cmm || 
    6566|| GHC.Prim || plusInteger# || from rts/PrimOps.cmm || 
    6667|| GHC.Prim || minusInteger# || from rts/PrimOps.cmm || 
     
    8283|| GHC.Float || encodeFloat || rts/StgPrimFloat.c --> linked in directly? || 
    8384|| GHC.Float || decodeFloat || rts/StgPrimFloat.c --> rts/Rts.h --> !PrimOps.cmm ||  
     85|| GHC.Float || encodeDouble || rts/StgPrimFloat.c --> rts/Rts.h --> linked in directly? || 
    8486|| GHC.Float || decodeDouble || rts/StgPrimFloat.c --> rts/Rts.h --> !PrimOps.cmm || 
    8587