/dports/games/hyperrogue/hyperrogue-12.0f/rogueviz/ |
H A D | collatz.cpp | 5 namespace collatz { namespace 32 T2 = spin(collatz::s2) * xpush(collatz::p2); in start() 33 T3 = spin(collatz::s3) * xpush(collatz::p3); in start() 51 collatz::lookup(i, j); in start() 175 collatz::lookup(763, 60); in collatz_video() 296 using namespace collatz; in readArgs() 303 using namespace collatz; in readArgs() 319 shift_arg_formula(collatz::cshift); in readArgs() 341 rogueviz::collatz::s2 = .3; in __anonb86946a00202() 343 rogueviz::collatz::s3 = -.4; in __anonb86946a00202() [all …]
|
/dports/lang/cython/Cython-0.29.24/tests/run/ |
H A D | line_profile_test.srctree | 11 Extension("collatz", ["collatz.pyx"], define_macros=[('CYTHON_TRACE', '1')]) 40 from collatz import collatz 41 func = collatz 46 from collatz import cp_collatz 52 from collatz import run_generator, cy_generator 58 from collatz import run_coro, cy_coro 64 from collatz import PyClass 71 from collatz import CClass 84 ######## collatz.pyx ########### 90 def collatz(n):
|
/dports/lang/cython-devel/cython-2b1e743/tests/run/ |
H A D | line_profile_test.srctree | 11 Extension("collatz", ["collatz.pyx"], define_macros=[('CYTHON_TRACE', '1')]) 40 from collatz import collatz 41 func = collatz 46 from collatz import cp_collatz 52 from collatz import run_generator, cy_generator 58 from collatz import run_coro, cy_coro 64 from collatz import PyClass 71 from collatz import CClass 84 ######## collatz.pyx ########### 90 def collatz(n):
|
/dports/math/R-cran-numbers/numbers/man/ |
H A D | collatz.Rd | 1 \name{collatz} 2 \alias{collatz} 10 collatz(n, k = 3, l = 1, short = FALSE, check = TRUE) 53 collatz(7) # n -> 3n+1 55 collatz(9, short = TRUE) 58 collatz(7, l = -1) # n -> 3n-1 63 collatz(5, k = 7, l = 1) # n -> 7n+1 65 collatz(5, k = 7, l = -1) # n -> 7n-1 67 ## Error in collatz(5, k = 7, l = -1) :
|
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | Makefile.rv | 40 CMUSICI=collatz-bridges.wav 191 collatz: hyper 192 ${CMD} -canvas h -dftcolor 206020FF -ggamma 2 -collatz .3,.5,-.4,.4 194 collatz-bird: hyper 203 collatz-video/frame0001.png: hyper 204 mkdir -p collatz-video 205 …${CMD} -canvas h -dftcolor 206020FF -ggamma 2 -cshift 5 -collatz .3,.55,-.4,.45 -video collatz-vid… 207 collatzvideo: collatz-video/frame0001.png ${CMUSICI} 208 …ffmpeg -r 24 -i collatz-video/frame%04d.png ${CMUSIC} -vcodec libx264 -acodec libvorbis collatz-vi… 210 collatz-titleimage.png: hyper [all …]
|
/dports/lang/purescript/purescript-0.14.5/tests/purs/passing/ |
H A D | Collatz.purs | 9 collatz :: Int -> Int 10 collatz n = ST.run (do 20 logShow $ collatz 1000
|
H A D | Guards.purs | 6 collatz = \x -> case x of
|
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/_example/ |
H A D | collatz.py | 2 def collatz(n): function 11 collatz(837799)
|
H A D | collatz.gomacro | 3 func collatz(n int) { 15 collatz(837799)
|
H A D | collatz.igo | 2 collatz := func(n int) { for n > 1 { if n&1 != 0 { n = ((n * 3) + 1) / 2 } else { n = n / 2 } } } 5 collatz_loop := func() { for i := 0; i < 100000; i++ { collatz(837799) } }
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/fluent-bundle/examples/ |
H A D | simple-app.rs | 134 args.insert("value", FluentValue::from(collatz(i))); in main() 171 fn collatz(n: isize) -> isize { in collatz() function 175 0 => 1 + collatz(n / 2), in collatz() 176 _ => 1 + collatz(n * 3 + 1), in collatz()
|
/dports/www/firefox/firefox-99.0/third_party/rust/fluent-fallback/examples/ |
H A D | simple-fallback.rs | 128 args.set("value", collatz(i)); in main() 157 fn collatz(n: isize) -> isize { in collatz() function 161 0 => 1 + collatz(n / 2), in collatz() 162 _ => 1 + collatz(n * 3 + 1), in collatz()
|
/dports/devel/tokei/tokei-12.1.2/tests/data/ |
H A D | odin.odin | 10 collatz :: inline proc(x: int) -> int { 20 y = collatz(y);
|
/dports/lang/cython/Cython-0.29.24/Demos/ |
H A D | overflow_perf.pyx | 47 def collatz(INT n): function 49 >>> collatz(1) 51 >>> collatz(5) 53 >>> collatz(10)
|
H A D | overflow_perf_run.py | 15 for func in most_orthogonal, fib, collatz, factorial:
|
/dports/lang/cython-devel/cython-2b1e743/Demos/ |
H A D | overflow_perf.pyx | 47 def collatz(INT n): function 49 >>> collatz(1) 51 >>> collatz(5) 53 >>> collatz(10)
|
H A D | overflow_perf_run.py | 15 for func in most_orthogonal, fib, collatz, factorial:
|
/dports/math/singular/Singular-Release-4-2-1/Singular/dyn_modules/systhreads/demo/ |
H A D | collatz.sg | 4 initWorkersFromString("proc collatz(int n) { 32 tasks = apply(args, x->{runTask("collatz", x)});
|
/dports/lang/ocaml/ocaml-4.05.0/testsuite/tests/misc/ |
H A D | ephetest3.ml | 1 (** This test weak table by application to the memoization of collatz 12 let collatz x = function 35 let y = hashcons (collatz x) in 55 let y' = collatz x in
|
/dports/lang/ocaml-nox11/ocaml-4.05.0/testsuite/tests/misc/ |
H A D | ephetest3.ml | 1 (** This test weak table by application to the memoization of collatz 12 let collatz x = function 35 let y = hashcons (collatz x) in 55 let y' = collatz x in
|
/dports/math/R-cran-numbers/numbers/ |
H A D | MD5 | 8 6bc720b9fd111d6c7afeb1e3b2b965df *R/collatz.R 43 e12c62d89f3bbf686cc4963f4107bd8b *man/collatz.Rd
|
H A D | NAMESPACE | 9 export(collatz)
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/ |
H A D | fractal_collatz.cpp | 20 internalID = fractal::collatz; in cFractalCollatz()
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/functionCall/ |
H A D | calling_other_functions.sol | 1 contract collatz {
|
/dports/math/R-cran-numbers/numbers/R/ |
H A D | collatz.R | 1 collatz <- function(n, k = 3, l = 1, short = FALSE, check = TRUE) { function
|