Secure FTP Applet

Java FTP Component

Java Secure FTP, FTP, SSL, SSH

Java SSH, Java Telnet

Java Server Faces, JSF, AJAX

Managed File Transfer, JSCAPE Secure FTP Server, Linux FTP Server, Solaris FTP Server

SSH .NET

FTP .NET, FTPS .NET

Java FTP

   
Classes / Algorithms / ArciMath BigDecimal
ArciMath BigDecimal is a fast and improved BigDecimal class, downward compatible with java.math.BigDecimal, and based on IBM's Java Specification Request for extending the current java.math.BigDecimal. (http://www2.hursley.ibm.com/decimal or http://www.alphaWorks.ibm.com/formula). Upgrading to ArciMath BigDecimal is as simple as changing the import in the java files that use BigDecimal.Main features of ArciMath BigDecimalSpeedArciMath BigDecimal maintains a higher speed level than both java.math.BigDecimal and com.ibm.math.BigDecimal at upto 100s of digits. Some methods are really orders of magnitude faster. 100% pure Javajava.math.BigDecimal delegates all math operations to a C-library. That library clearly cannot profit from Java's enhanced memory management; during our extensive comparative tests we had several crashes in java.math.BigDecimal due to virtual memory management (we must admit, under Windows98 only!). But none when using either com.ibm.math.BigDecimal or our own be.arci.math.BigDecimal. IBM follows a 99% Java approach, by delegating some methods to java.math.BigInteger, and hence to native libraries. Fully decimalThis class behaves exactly as your own math on paper; there are no imprecisions as caused by converting non-integer numbers to binary representation and back. Floating pointYes, you read it right. Where java.math.BigDecimal is fixed-point only, ArciMath BigDecimal operates both as a fixed-point class (with the compatibility mode method signatures) and as a full decimal floating point class. And you can use it for very long integer numbers just as well. only Precision and roundingArciMath BigDecimal objects maintains the precision they were constructed with, when doing math on them. So 0.99 x 10 = 9.90, not 9.9, making it a usefull class for financial math as well. But all math and formatting methods can take a new precision and as well as a rounding mode. Overflow protectionIf your environment has the memory for it, you can do math with 999.999.999 digits and exponents from -999.999.999 to +999.999.999. We are convinced this will limit overflow problems to the minimum, but we still check for it. IntegrityBecause numbers can be highly sensitive to even a single changed bit, ArciMath BigDecimal offers protection of your data on persistence or transmission through Java's serialization mechanism. On serialization, ArciMath BigDecimal stores a double CRC checking code into the serialized object. On de-serialization, this CRC coding is checked, and other validity checks are performed. Backward compatibleArciMath BigDecimal is a drop-in replacement for com.ibm.math.BigDecimal. This includes almost complete backward compatibility with java.math.BigDecimal, both in method signature and in results. Three known differences however between ArciMath BigDecimal and com.ibm.math.BigDecimal on the one hand, and java.math.BigDeciaml on the other hand are ArciMath BigDecimal accepts an exponent in constructors from String, and the toString() method renders them back again. The ArciMath max and min methods define which object is returned when the numbers compare equal; ArciMath BigDecimal returns the current object in that case, whereas the behaviour of java.math is not specified. In some other cases too the java.math documentation does not fully define the operation of methods (for example, if null is passed to methods that take objects as parameters). ArciMath BigDecimal may therefore differ from the actual BigDecimal operations in such cases (but no program should be relying on them).

Company:Aandacht c.v.
Information:http://users.belgacombusiness.net/arci
Download:http://users.belgacombusiness.net/arci/math/zip/arcimatheval.zip
License:Shareware
Reviews:0
Votes:14
Recommend It!    Add a Comment

Sponsored Links - please visit our sponsors
SSH Factory
automate telnet and SSH tasks
http://www.jscape.com/sshfactory/
Secure FTP Applet
Connect to FTP securely from within your browser.
http://www.jscape.com/sftpapplet/
FTP Applet
Add file transfer capabilities to your web pages.
http://www.jscape.com/ftpapplet/index.html
Secure FTP Component
Add secure FTP to your Java applications
http://www.jscape.com/sftp/
Java FTP Component
Easily add FTP to your Java apps.
http://www.jscape.com/inetfactory/ftp.html
Learn Java Server Faces!
Use WebGalileo Faces JSF components to quickly create Java based web apps.
http://www.jscape.com/webgalileofaces/

Sponsor this site