in reply to Re^2: JAPH - more obscure than obfuscated...
in thread JAPH - more obscure than obfuscated...

Heh - probably OS specific (Win2k for me).

I get JUST ANOTHER PERL HACKER (but you probably guessed that ;)

map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e** 2-$d**2+$b);$c=$d**2+$e**2>4?_:0}1..99;print$c}0..59;print$/}0..20;
Tom Melly, pm@tomandlu.co.uk

Replies are listed 'Best First'.
Re^4: JAPH - more obscure than obfuscated...
by ambrus (Abbot) on Nov 29, 2006 at 19:21 UTC

    For some wierd reason, even though perl reimplements half of the c library, it uses the library random generator even on systems where it's not really good. This has the consequence that you can't rely on rand returning more than four random digits and also that random numbers are highly platform dependent.