testBaseConversions.frink

Download or view testBaseConversions.frink in plain text format


while (true)
{
   bits = random[1, 10000]
   n = randomBits[bits]
   alphabet = "\u{1f638}12"
   if n != parseInt[base[n, alphabet], alphabet]
      println["error in $n"]
}


Download or view testBaseConversions.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 19350 days, 23 hours, 28 minutes ago.