Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
stepStartAdjust :: Int -> Int -> Intmassiv Data.Massiv.Core.Index Helper for adjusting stride of a chunk
badSafeIndex :: Int -> Int -> Intghc-internal GHC.Internal.Arr Used to throw exceptions in array bounds-checking functions. ⚠ This function throws SomeException in all cases.
Examples
>>> badSafeIndex 2 5 *** Exception: Error in array index; 2 not in range [0..5)
-
ghc-internal GHC.Internal.Base Used to implement rem for the Integral typeclass. This gives the remainder after integer division of its two parameters, satisfying
((x `quot` y) * y) + (x `rem` y) == x
Example
>>> remInt 3 2 1
>>> rem 3 2 1
-
ghc-internal GHC.Internal.Base Used to implement quot for the Integral typeclass. This performs integer division on its two parameters, truncated towards zero.
Example
>>> quotInt 10 2 5
>>> quot 10 2 5
-
ghc-internal GHC.Internal.Base Used to implement div for the Integral typeclass. This performs integer division on its two parameters, truncated towards negative infinity.
Example
>>> 10 `divInt` 2 5
>>> 10 `div` 2 5
-
ghc-internal GHC.Internal.Base Used to implement mod for the Integral typeclass. This performs the modulo operation, satisfying
((x `div` y) * y) + (x `mod` y) == x
Example
>>> 7 `modInt` 3 1
>>> 7 `mod` 3 1
-
ghc-internal GHC.Internal.Float Used to prevent exponent over/underflow when encoding floating point numbers. This is also the same as
\(x,y) -> max (-x) (min x y)
Example
>>> clamp (-10) 5 10
alignRoundUp :: Int -> Int -> Intfoundation Foundation.Bits Round up (if needed) to a multiple of alignment closst to m alignment needs to be a power of two alignRoundUp 16 8 = 16 alignRoundUp 15 8 = 16
alignRoundDown :: Int -> Int -> Intfoundation Foundation.Bits Round down (if needed) to a multiple of alignment closest to m alignment needs to be a power of two
alignRoundDown 15 8 = 8 alignRoundDown 8 8 = 8
delayed_min :: Int -> Int -> Intrebase Rebase.Data.Vector.Fusion.Util No documentation available.