Anonymous user
Use another language to call a function: Difference between revisions
Use another language to call a function (view source)
Revision as of 12:07, 1 July 2016
, 7 years ago→{{header|PARI/GP}}
Line 768:
ROT13() is implemented as a PARI one-line:<lang parigp>Strchr(Vecsmall(apply(k->if(k>96&&k<123,(k-84)%26+97,if(k>64&&k<91,(k-52)%26+65,k)),Vec(Vecsmall(s)))))</lang>
PARI's interface for Query()... query.c:
<lang C>#include <pari/pari.h>
|