of these problems are stinkers.)
Good luck,
Jim
Message: 15
Date: Fri, 31 Oct 2014 11:51:13 +1100
From: Igor de Oliveira Couto i...@semperuna.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: (Arbitrarily) Long-Division Script
Message-ID: 3f774ea0-2add-48b1-a5af-6d3d57bbb
Such strange goings on. This doesn’t work on my MB Pro running Yosemite and LC
6.6.5 either. Nothing happens! If it hit enter repeatedly I get an “execution
error . . . can’t find handler . . . hint: go
Cheers,
Roger
On Nov 3, 2014, at 6:57 AM, Jim Hurley jhurley0...@sbcglobal.net wrote:
Thanks Geoff!
Bob S
On Oct 31, 2014, at 21:35 , Geoff Canyon gcan...@gmail.com wrote:
FYI, here's my original bignum multiplier:
function bigTimes X,Y
if char 1 of X is - then
put - into leadChar
delete char 1 of X
end if
if char 1 of Y is - then
if leadChar
I've created similar routines in the past. Are you saying you do or don't
want to allow for arbitrarily-large divisors?
a pseudo-code algo for divisors that LC can handle:
1. remove the decimal points, remembering where they were
2. get the length of the divisor
3. grab that many characters from
FYI, here's my original bignum multiplier:
function bigTimes X,Y
if char 1 of X is - then
put - into leadChar
delete char 1 of X
end if
if char 1 of Y is - then
if leadChar is - then put empty into leadChar else put - into leadChar
delete char 1 of Y
end if
Hi all,
I wanted to develop a library to allow me to perform basic maths (add,
subtract, multiply, divide) with arbitrarily long numbers in LiveCode. My
requirements are simple:
- integers and floating-point numbers must be supported as all operands in all
operations, to an arbitrarily large