[Git][ghc/ghc][master] base: Correct @since annotation for FP<->Integral bit cast operations.
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Feb 22 04:58:22 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
9296660b by Andreas Klebinger at 2023-02-21T23:58:05-05:00
base: Correct @since annotation for FP<->Integral bit cast operations.
Fixes #22708
- - - - -
1 changed file:
- libraries/base/GHC/Float.hs
Changes:
=====================================
libraries/base/GHC/Float.hs
=====================================
@@ -1568,7 +1568,7 @@ is using CMM.
-- | @'castWord32ToFloat' w@ does a bit-for-bit copy from an integral value
-- to a floating-point value.
--
--- @since 4.10.0.0
+-- @since 4.11.0.0
{-# INLINE castWord32ToFloat #-}
castWord32ToFloat :: Word32 -> Float
@@ -1581,7 +1581,7 @@ foreign import prim "stg_word32ToFloatzh"
-- | @'castFloatToWord32' f@ does a bit-for-bit copy from a floating-point value
-- to an integral value.
--
--- @since 4.10.0.0
+-- @since 4.11.0.0
{-# INLINE castFloatToWord32 #-}
castFloatToWord32 :: Float -> Word32
@@ -1595,7 +1595,7 @@ foreign import prim "stg_floatToWord32zh"
-- | @'castWord64ToDouble' w@ does a bit-for-bit copy from an integral value
-- to a floating-point value.
--
--- @since 4.10.0.0
+-- @since 4.11.0.0
{-# INLINE castWord64ToDouble #-}
castWord64ToDouble :: Word64 -> Double
@@ -1608,7 +1608,7 @@ foreign import prim "stg_word64ToDoublezh"
-- | @'castFloatToWord64' f@ does a bit-for-bit copy from a floating-point value
-- to an integral value.
--
--- @since 4.10.0.0
+-- @since 4.11.0.0
{-# INLINE castDoubleToWord64 #-}
castDoubleToWord64 :: Double -> Word64
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9296660b131d42f1b1f9c421040c5746d5c56989
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9296660b131d42f1b1f9c421040c5746d5c56989
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230221/5aa63701/attachment-0001.html>
More information about the ghc-commits
mailing list