realbasic-nug
[Top] [All Lists]

[ANN] fp

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: [ANN] fp
From: Bob Delaney <delaneyrm@earthlink.net>
Date: Sat, 27 Sep 2008 22:24:29 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; domainkeys=hardfail (test mode) header.From=delaneyrm@earthlink.net
Delivered-to: listarchive@realsoftware.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=WApx+Wuwfo/85Qt9S+yibyckUYuo5tOW7ZjkeU0Ek8OAotz3XgGeSPn8zluN+KzE; h=Received:Message-Id:From:To:Content-Type:Mime-Version:Subject:Date:X-Mailer:X-ELNK-Trace:X-Originating-IP;
Domainkey-status: bad (test mode)
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
"fp" is an Xcode C++ Tool project with source files implementing multi- precision floating point calculations. My intention is to keep it as simple as possible, but to be of use to many programmers. It is a work in progress. I still need to overload functions and the +, -, *, and / operators. I would appreciate comments on:

1. Bugs.

2. Extensive use of static variables.
Essentially these are used to remember the current size of mb and fp numbers. If a smaller size is needed, no adjustment is made. If a larger size is needed, then through "update" in mpMath.cp the old malloced memory is freed, and new memory is reserved in the heap through malloc.

3. Suggestions for improvement, but remember fp is to be as simple as possible, but useful for many. If you provide code and I incorporate that code in my project, I'll include your names and descriptions of that code in a separate text file.

I will be releasing fp as freeware, with no restrictions on its use except to always accompany the project and/or source code with my description file.

It is also my intention to use fp as the "engine" for my Extended and Decimal plugins. Their current restrictive licenses would then be removed.

By the way, fp is about as speedy as Victor Shoup's NTL.

Download page:
http://homepage.mac.com/delaneyrm/fp.zip

Bob

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • [ANN] fp, Bob Delaney <=