On 7/20/2010 11:58:04 PM, peter rejto wrote:
> Did anybody try to use Vedit
> to get an approximation to
> square root 2 ?
> I have a hunch that this
> implementation problem is
> similar to one of the rosetta
> code implementations of Pauli Lindgren's, which says the
Vedit macro language only uses integer numbers.
Fibonacci numbers are integers.
Square root requires floating point numbers.
Of course you could do floating point calculations for example by implementing BCD-calculations yourself (using one character for each digit), but there is not much point doing that except if you want to practice programming.