Skip to content
GitLab
Explore
Sign in
Register
Glasgow Haskell Compiler
GHC
Repository
ghc
testsuite
tests
numeric
should_compile
all.T
Find file
Blame
History
Permalink
Add constant folding rule (#16402)
· 7a51b587
Sylvain Henry
authored
Dec 02, 2019
and
Marge Bot
committed
Dec 03, 2019
narrowN (x .&. m) m .&. (2^N-1) = 2^N-1 ==> narrowN x e.g. narrow16 (x .&. 0x12FFFF) ==> narrow16 x
7a51b587