Commit 4c7d45d1 authored by Brian Wignall's avatar Brian Wignall Committed by Marge Bot
Browse files

Make documentation for byteSwap16 consistent with byteSwap32 (impl is same, with s/16/32)

parent 08298926
Pipeline #11832 passed with stages
in 712 minutes
...@@ -405,7 +405,7 @@ instance FiniteBits Word16 where ...@@ -405,7 +405,7 @@ instance FiniteBits Word16 where
countLeadingZeros (W16# x#) = I# (word2Int# (clz16# x#)) countLeadingZeros (W16# x#) = I# (word2Int# (clz16# x#))
countTrailingZeros (W16# x#) = I# (word2Int# (ctz16# x#)) countTrailingZeros (W16# x#) = I# (word2Int# (ctz16# x#))
-- | Swap bytes in 'Word16'. -- | Reverse order of bytes in 'Word16'.
-- --
-- @since 4.7.0.0 -- @since 4.7.0.0
byteSwap16 :: Word16 -> Word16 byteSwap16 :: Word16 -> Word16
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment