Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.forth Subject: Re: Strings and numbers Date: Mon, 03 Aug 2015 17:38:37 -0400 Organization: Aioe.org NNTP Server Lines: 22 Message-ID: References: <76f7d2ca-9052-47c7-a8a5-f9ee53b1f6ed@googlegroups.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:41081 On Mon, 03 Aug 2015 16:51:41 -0400, Julian Fondren wrote: > On Monday, August 3, 2015 at 3:24:08 PM UTC-5, Steve Graham wrote: >> I am working on a problem which involves numbers from 1234567890 >> up to 987,654,321. I need to be able to: >> 1) Convert between the number and its string equivalent; and >> 1) Divide the number by integers from 2 to 9 yielding a remainder. > > Hello, > > Do you have 16-bit cells? If you don't, then two's > complement ranges for 32-bit numbers are [0,2_147_483_647] Did you mean [-2_147_483_648,+2_147_483_647] for 32-bit signed? Rod Pemberton -- Scientists now say we'll experience a mini-ice in 2030. So, I guess we need more global warming today ...