Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Arbitrary Length Arithmetic

Status
Not open for further replies.

Glenn9999

Programmer
Joined
Jun 19, 2004
Messages
2,312
Location
US
As another project to be able to do something and not be totally cold with COBOL programming, I decided to attempt writing some arbitrary length arithmetic routines. Anyway, I'm finding COBOL to be very ideal for the task, but I'll admit I'm starting to get a bit stumped on the best way to handle division. So I thought I'd ask if anyone had any thoughts. As well if anyone has any thoughts in general, it might be interesting to talk about them here.

Thanks.
 
Knuth, Art of Computer Programming, describes the classic long division algorithm which you might find useful.

Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top