|
Blair, There was a typo in the pre v4r3 documentation of System API Reference Manual. The correct max is 12 for 4 byte int and 20 for 8 byte int. There is one API for each type of int: --------------------------- _INT4: void CEE4SIFAC(_INT4 * val, _INT4 * result, _FEEDBACK * fc); /* max 12 */ _INT8: void CEE4SJFAC(_INT4 * val, _INT8 * result, _FEEDBACK * fc); /* max 20 */ The prototypes are in lemath.h, the types in letype.h. leawi.h includes both above files. Let me know if you need more help and Sorry about the typo. Cheers. From: Blair Wyman on 04/15/99 10:34 AM To: Joseph Zoght/Rochester/IBM@IBMUS cc: From: Blair Wyman/Rochester/IBM@IBMUS Subject: CEE4SIFAC Math API Hi, Joe. Thanks for looking at this. Is this some known problem? I haven't messed with it personally, but one of the guys out on the MIDRANGE-L list ran into this. Thanks again. -blair Blair Wyman -- IBM Rochester -- (507) 253-2891 "...swilling office coffee in the cube farm." ---------------------- Forwarded by Blair Wyman/Rochester/IBM on 04/15/99 10:32 AM --------------------------- Dave Mahadevan <mahadevan@fuse.net> on 04/13/99 05:25:09 PM Please respond to MIDRANGE-L@midrange.com To: midrangel <MIDRANGE-L@midrange.com> cc: (bcc: Blair Wyman/Rochester/IBM) Subject: CEE4SIFAC Math API
Folks: The API reference book says I can use this API upto number 30. The stuff starts giving me wrong answer from 13 . Did they mean 13 not 30? Has anybody used this API? +-------------------+-------------------+---------+------------------------ ---------------+---------+---------------------------------------¦ ¦ Factorial ¦ CEE4SIFAC ¦ I ¦ n! = 1*2*3 ... (n-1)*n. ¦ 1 ¦ Any positive integer _30. ¦ +-------------------+-------------------+---------+------------------------ ---------------+---------+---------------------------------------¦ -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.