File convert.icn

Summary

###########################################################################

	File:     convert.icn

	Subject:  Procedures for various conversions

	Author:   Ralph E. Griswold

	Date:     March 19, 1998

###########################################################################

   This file is in the public domain.

###########################################################################
  
	exbase10(i, j)	converts base-10 integer i to base j.
  
	inbase10(s, i)	convert base-i integer s to base 10.
  
	radcon(s, i, j)	convert base-i integer s to base j.

  There are several other procedures related to conversion that are
  not yet part of this module.
  
###########################################################################
Procedures:
exbase10, inbase10, radcon

This file is part of the (main) package.

Source code.

Details
Procedures:

exbase10(i, j)

: convert base 10 to arbitrary base


inbase10(s, i)

: convert arbitrary base to base 10


radcon(s, i, j)

: convert between bases



This page produced by UniDoc on 2021/04/15 @ 23:59:54.