![]() ![]() Version 4.6 corrects a bug in the fpIsItEven function. And a number base from 2 to 65,536 can be chosen for input and output of BigIntegers. Version 4.5 allows the bitWise operators And, Or, and Xor to be used between two BigIntegers or between a BigInteger and an Integer. Version 4.3 corrects a bug in the BigFloat function fpIsItInteger. Version 4.2 adds binary Gray code to the function fpConvBase. Version 4.1 adds the ability to set "Round To Zero" to ON or OFF for the roots of a polynomial. Version 4.0 has functions which use Laguerre's Method to find all the roots of a polynomial to any chosen precision. It also adds the function: fpConvBase(numberString As String, baseTo As Integer, baseFrom As Integer, numPlaces As Integer, toUpperCase As Boolean) As String // 2 <= baseTo, baseFrom <= 65536 numPlaces is the limit for the number of base point places in the baseTo number, toUpperCase = true or false outputs upper or lower case Version 3.5 adds the function: fpRandom2(n As Integer) As BigInteger // generates a pseudo-random BigInteger of bit length n ![]() Version 3.4 adds the function fpExtendedGCD, which implements the Extended Euclidean Algorithm. It also updates the documentation to remove a mistaken reference to a BigFloat fpRandom function. Version 3.2 corrects a bug in the BigInteger fpRandom function. Read "fpPlugin Desc.rtf" for an explanation. So for a BigFloat argument, x, you should use "fpsqrt(x)" not "sqrt(x)", "fpcos(x)" not "cos(x)", and so on for all the standard functions. For BigInteger, BigFloat, or BigComplex arguments, it changes the names of the standard functions by prefixing them with "fp". Version 2.5 adds the Beta Function, the Incomplete Beta Function, the Error Functions, the Exponential Integral, the Fresnel Integrals, and the Confluent Hypergeometric Function. Version 2.0 adds Euler's Constant and the Bessel functions for both integer and non-integer orders. Version 1.6 corrects a rare subtraction bug. Many fpEquate functions have been added for conversions between BigIntegers and the REALbasic numeric types, with an exception raised when the conversion is invalid. Version 1.5 adds the ability for BigIntegers to mix with the types INT64, UINT64, UINT32, INT16, UINT16, INT8, and UINT8 for arithmetic operations and comparisons. Version 1.4 adds the ability for BigIntegers to mix with the types INT64 and UINT64 for arithmetic operations and comparisons. Version 1.3 has a much faster conversion of a large BigInteger to a String. The result is always exact, unless there is overflow. The plugin computes x! using its definition. Version 1.2.1 adds fpFactorial(x) for BigInteger. Depending on the value of x, this is either x! or Gamma(x+1). Version 1.2 adds fpFactorial(x) for BigFloat. Version 1.1 adds fpNthRoot and fpIsItEven for BigIntegers, and adds fpIsItInteger for BigFloat. ![]() It is unconditionally available for any use, but is without warranty. I am releasing fp Plugin with an easy-to-meet license. Additional functions use the Laguerre method to find for a polynomial all its roots (complex or real) to any chosen precision. The added 9th data type is ComplexVector, which holds an array of complex numbers. And most of Xojo's functions have been overloaded to take the new data types, where it makes sense to do so. To a large extent the new data types can be freely used with the +, -, *, and / operators, and can be used in comparisons. The power of 10 for BigFloat can range from about -600,000,000 to +600,000,000 as compared to -308 to +308 for a Double.īigComplex is composed of two BigFloats, so it uses BigFloat precision.īigFraction represents num/den where num and den are BigIntegers.īigPoly represents a polynomial with BigFraction coefficients.īigFloatMatrix represents a matrix with BigFloat elements.īigComplexMatrix represents a matrix with BigComplex elements.īigFractionMatrix represents a matrix with BigFraction elements.įp Plugin itself allows you to construct Xojo programs which can handle the eight new data types much like doubles and integers are handled. It might take awhile, but you can now calculate pi in a Xojo program to a million decimal places, or more. You can set both the internal precision and the decimal output precision for BigFloat, with no limitation except for available memory. So you can multiply a 100 digit integer by another 100 digit integer giving the exact 200 digit integer.īigFloat is a multi-precision floating point number. They are:Įxcept for available memory, there is no limitation on the size of a BigInteger. Using my own fp multi-precision engine, 32-bit and 64-bit aware fp Plugin for Xojo adds eight new data types. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |