in reply to Simple signature
The next step, with some constants precalculated:@_=(115,-17,6); print map { chr($_[$.=$_-$_] * $_ ** $.++ + $_[$.] * $_ ** $.++ + $_[$ +.] * $_ ** $.) } $. - $. .. $#_
And finally with all constants added in:@_=(115,-17,6); print map { chr($_[0] * $_ ** 0 + $_[1] * $_ ** 1 + $_[2] * $_ ** 2) } + 0 .. 2
First iteration of map: 115*0^0 + -17*0^1 + 6*0^2 = 115*1 + 0 + 0 = 115 = s.@_=(115,-17,6); print map { chr(115 + -17 * $_ + 6 * $_ ** 2) } 0 .. 2
|
|---|