Yeti

Joined 24 August 2022
→‎Bourne Again SHell: mandelbrot example: less plutimications, more bashisms
(→‎Bourne Again SHell: updated mandelbrot example to use less multiplications and more bashisms)
(→‎Bourne Again SHell: mandelbrot example: less plutimications, more bashisms)
Line 12:
((ymin=-4915)) # int(-1.2*4096)
((ymax=4915)) # int( 1.2*4096)
 
((maxiter=30))
 
((dx=(xmax-xmin)/72))
((dy=(ymax-ymin)/2324))
 
C='0123456789'
((lC=${#C}))
 
for((cy=ymax;cy>=ymin;cy-=dy)) ; do
for((cx=xmin;cx<=xmax;cx+=dx)) ; do
Line 36:
<pre>
1111111111111222222222222333333333333333333333333333333333222222222222222
1111111111112222222233333333333333333333344444456015554444333332222222222
1111111111122222222233333333333333333333344444456296554444333333222222222
1111111111222222333333333333333333333444444445556704912544444433333222222
1111111111222222333333333333333333333444444445556805008644444433333322222
1111111112222333333333333333333333444444444555678970508655544444333333222
1111111122222333333333333333333334444444445555671070308755544444333333322
1111111222233333333333333333333444444444556667807000002076555544443333333
1111111222333333333333333333334444444445566667807000006976655554443333333
1111112223333333333333333333444444455577898889016000003099766662644333333
1111112233333333333333333334444444555620129900125000054200077779954433333
1111122333333333333333334444455555566793000800000000000000931045875443333
1111122333333333333333344445555555666793000000000000000000005009875443333
1111123333333333333344455555555566668014000000000000000000000009865544333
1111123333333333333445555555555666670403000000000000000000000061876544333
1111233333333344445568277777777777880600000000000000000000000009099544433
1111233333344444455569288780387778893200000000000000000000000000049544433
1111333344444445555678041513450199023000000000000000000000000000807544433
1111334444444455555678939080080941140000000000000000000000000000007544443
1112344444445555556771179000000000410000000000000000000000000000036544443
1113444444455555678891900000000000900000000000000000000000000000686544443
1114444444566667782404400000000000000000000000000000000000000000775544443
1114556677776777003000000000000000000000000000000000000000000005765544443
1119912160975272040000000000000000000000000000000000000000000219765544443
1114556678776788003700000000000000000000000000000000000000000003765544443
1114444444566667792405800000000000000000000000000000000000000000075544443
1113444444455555679991000000000000000000000000000000000000000000086544443
1113344444445555556773270000000000500000000000000000000000000000676544443
1111334444444455555678930000000941140000000000000000000000000000707544443
1111333344444445555678045623255199020000000000000000000000000000707544433
1111233333344444455569288781387778806400000000000000000000000000049544433
1111233333333444445568177777877777881500000000000000000000000009190544433
1111123333333333334445555555555666676661000000000000000000000061876544333
1111123333333333333344455555555566668126000000000000000000000009865544333
1111122333333333333333344445555555666793000000000000000000015007275443333
1111122333333333333333334444455555566793000100000000000000941355975443333
1111112233333333333333333334444444555620129908136000034201087779954433333
1111112223333333333333333334444444455588908889016000003099876670654433333
1111111222333333333333333333334444444445566667808000005976655554443333333
1111111222233333333333333333334444444445556667800000002976555554443333333
1111111122222333333333333333333334444444445555681070008755544444333333322
1111111112222333333333333333333333444444444555679060608655544444333333222
1111111111222222333333333333333333333444444445556896008644444433333322222
1111111111222222333333333333333333333444444445556702049544444433333222222
1111111111122222222233333333333333333333344444456096554444333333222222222
1111111111112222222233333333333333333333344444456205554444333333222222222
1111111111111222222222222333333333333333333333333333333333222222222222222
</pre>
169

edits