Home
last modified time | relevance | path

Searched refs:collatz (Results 1 – 25 of 46) sorted by relevance

12

/dports/games/hyperrogue/hyperrogue-12.0f/rogueviz/
H A Dcollatz.cpp5 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 Dline_profile_test.srctree11 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 Dline_profile_test.srctree11 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 Dcollatz.Rd1 \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 DMakefile.rv40 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 DCollatz.purs9 collatz :: Int -> Int
10 collatz n = ST.run (do
20 logShow $ collatz 1000
H A DGuards.purs6 collatz = \x -> case x of
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/_example/
H A Dcollatz.py2 def collatz(n): function
11 collatz(837799)
H A Dcollatz.gomacro3 func collatz(n int) {
15 collatz(837799)
H A Dcollatz.igo2 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 Dsimple-app.rs134 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 Dsimple-fallback.rs128 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 Dodin.odin10 collatz :: inline proc(x: int) -> int {
20 y = collatz(y);
/dports/lang/cython/Cython-0.29.24/Demos/
H A Doverflow_perf.pyx47 def collatz(INT n): function
49 >>> collatz(1)
51 >>> collatz(5)
53 >>> collatz(10)
H A Doverflow_perf_run.py15 for func in most_orthogonal, fib, collatz, factorial:
/dports/lang/cython-devel/cython-2b1e743/Demos/
H A Doverflow_perf.pyx47 def collatz(INT n): function
49 >>> collatz(1)
51 >>> collatz(5)
53 >>> collatz(10)
H A Doverflow_perf_run.py15 for func in most_orthogonal, fib, collatz, factorial:
/dports/math/singular/Singular-Release-4-2-1/Singular/dyn_modules/systhreads/demo/
H A Dcollatz.sg4 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 Dephetest3.ml1 (** 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 Dephetest3.ml1 (** 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 DMD58 6bc720b9fd111d6c7afeb1e3b2b965df *R/collatz.R
43 e12c62d89f3bbf686cc4963f4107bd8b *man/collatz.Rd
H A DNAMESPACE9 export(collatz)
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/formula/definition/
H A Dfractal_collatz.cpp20 internalID = fractal::collatz; in cFractalCollatz()
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/functionCall/
H A Dcalling_other_functions.sol1 contract collatz {
/dports/math/R-cran-numbers/numbers/R/
H A Dcollatz.R1 collatz <- function(n, k = 3, l = 1, short = FALSE, check = TRUE) { function

12