testBaseConversions.frink

View or download 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"]
}


View or download 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 17651 days, 5 hours, 21 minutes ago.