Home
last modified time | relevance | path

Searched refs:divMod (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/dports/lang/nim/nim-1.6.2/tests/compiler/
H A Dtint128.nim3 let (a,b) = divMod(Ten,Ten)
88 doAssert divMod(toInt128( ma),toInt128( mb)) == (toInt128( ma div mb), toInt128( ma mod mb))
89 doAssert divMod(toInt128(-ma),toInt128( mb)) == (toInt128(-ma div mb), toInt128(-ma mod mb))
90 doAssert divMod(toInt128( ma),toInt128(-mb)) == (toInt128( ma div -mb), toInt128( ma mod -mb))
91 doAssert divMod(toInt128(-ma),toInt128(-mb)) == (toInt128(-ma div -mb), toInt128(-ma mod -mb))
93 doAssert divMod(toInt128( mb),toInt128( mb)) == (toInt128( mb div mb), toInt128( mb mod mb))
94 doAssert divMod(toInt128(-mb),toInt128( mb)) == (toInt128(-mb div mb), toInt128(-mb mod mb))
95 doAssert divMod(toInt128( mb),toInt128(-mb)) == (toInt128( mb div -mb), toInt128( mb mod -mb))
96 doAssert divMod(toInt128(-mb),toInt128(-mb)) == (toInt128(-mb div -mb), toInt128(-mb mod -mb))
98 doAssert divMod(toInt128( mb),toInt128( ma)) == (toInt128( mb div ma), toInt128( mb mod ma))
[all …]
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/sbv-8.12/Data/SBV/Utils/
H A DTDiff.hs51 (days, days') = total `divMod` d2h
52 (hours, hours') = days' `divMod` h2m
53 (minutes, seconds') = hours' `divMod` m2s
54 (seconds, picos) = seconds' `divMod` s2p
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/postgresql-binary-0.12.4/library/PostgreSQL/Binary/
H A DNumeric.hs25 x -> case divMod x 10000 of
44 a <- state (flip divMod 1000)
45 b <- state (flip divMod 100)
46 c <- state (flip divMod 10)
/dports/devel/stack/stack-2.7.3/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/devel/hs-darcs/darcs-2.16.4/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/lang/elm/compiler-0.19.1/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/hourglass-0.2.12/Data/Hourglass/
H A DDiff.hs80 where (sacc, ns') = ns `divMod` 1000000000
89 where (hacc, mi') = (mi+miacc) `divMod` 60
90 (miacc, s') = (s+sacc) `divMod` 60
91 (sacc, ns') = ns `divMod` 1000000000
98 (yDiffAcc,mStartPos) = (fromEnum mOrig + mDiff) `divMod` 12
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/warp-3.3.17/Network/Wai/Handler/Warp/
H A DPackInt.hs31 let (d,r) = i `divMod` 10
54 (!q0,!r0) = s `divMod` 10
55 (!q1,!r1) = q0 `divMod` 10
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/warp-3.3.13/Network/Wai/Handler/Warp/
H A DPackInt.hs31 let (d,r) = i `divMod` 10
54 (!q0,!r0) = s `divMod` 10
55 (!q1,!r1) = q0 `divMod` 10
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/warp-3.3.12/Network/Wai/Handler/Warp/
H A DPackInt.hs31 let (d,r) = i `divMod` 10
54 (!q0,!r0) = s `divMod` 10
55 (!q1,!r1) = q0 `divMod` 10
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/warp-3.3.14/Network/Wai/Handler/Warp/
H A DPackInt.hs31 let (d,r) = i `divMod` 10
54 (!q0,!r0) = s `divMod` 10
55 (!q1,!r1) = q0 `divMod` 10
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/warp-3.3.14/Network/Wai/Handler/Warp/
H A DPackInt.hs31 let (d,r) = i `divMod` 10
54 (!q0,!r0) = s `divMod` 10
55 (!q1,!r1) = q0 `divMod` 10

12345678910>>...38