Skip to content
Permalink
Branch: master
Commits on Nov 15, 2019
  1. Support 32 bit architectures

    Joshcarp committed Nov 15, 2019
    Makes troublesome consts uint64's to stop integer overflow from implicit typecasting into 32 bit integers in 32 bit systems.
Commits on Nov 14, 2019
  1. Replace "Decimal64" with just "64" (#67)

    Joshcarp committed Nov 14, 2019
  2. Optimisations (#66)

    Joshcarp committed Nov 14, 2019
    * Make Uint128 use math.bits Div64 function
    
    * Remove Logic checks from some functions 
    
    * Change Test to use pointer receivers
    
    * Create decParts unpack function
Commits on Oct 31, 2019
  1. Add apache 2 license (#65)

    Joshcarp authored and anzdaddy committed Oct 31, 2019
Commits on Jun 26, 2019
  1. Fix go mod (#61)

    Joshcarp committed Jun 26, 2019
    * change anz-private to anz-bank in go mod
Commits on Jun 25, 2019
  1. Update readme document (#60)

    Joshcarp committed Jun 25, 2019
    * Update README
    
    * More readme
Commits on Jun 21, 2019
  1. Make Abs function propagate Nans without changing sign(#59)

    Joshcarp committed Jun 21, 2019
    * Make abs not change sign of -NaNs
  2. Fix compare function (#57)

    Joshcarp committed Jun 21, 2019
    * Cmp testcase handling, ignore NaN returns, return -2 instead
    
    * Fix compare function to handle infs
  3. Fixups (#56)

    Joshcarp committed Jun 21, 2019
    * Change decParts receiver names
    
    * Simplify add128
    
    * Fix isNormal method
    
    * Fix isZero method
    
    * Remove mag and updateMag functions
    
    * Remove repeated code in getParts
    
    * Fix-up inf return in Quo
    
    * Update uint128 functions to use math.bits function
Commits on Jun 19, 2019
  1. Fix Quotient function to pass dectests (#50)

    Joshcarp committed Jun 19, 2019
    * Add matchsignificand size function
    
    * Add first Implementation of Quo
    
    * Quo function with some rounding
    
    * Add context for quo
Commits on Jun 12, 2019
  1. Ci update (#49)

    Joshcarp committed Jun 12, 2019
    * Remove depreciated functions
    * Check previously unchecked error returns
    * Remove ineffectual assignments
    * Remove returns in void functions
    * Update CI to use golangci-lint
    * Add Unittests for untested code
Commits on Jun 11, 2019
  1. Fix PropagateNan function (#48)

    Joshcarp committed Jun 11, 2019
    * Change propagateNan to varadict function
    
    * Simplify propagateNan in FMA function
Commits on May 27, 2019
  1. Use uint128T for add function in FMA and Add (#46)

    Joshcarp committed May 27, 2019
    * Fix Add Half up rounding
    
    * Functionise Add128
    
    * Fix uint128T numdecimaldigit bug
    
    * Change significand to be 128 bits
    
    * Seperate matchscales128 and add128
    
    * Add new file for supporting decParts arithmetic functions
Commits on May 19, 2019
  1. Reoptimise decimal test suite test (#40)

    Joshcarp committed May 19, 2019
    * Reoptimise decimal test suite test
    
    * Fix errors in review comments
    
    * Panic on non-supported rounding
    
    * Add ability to test non-decimal64 values in decimal64Suite_test
    
    * Add Default rounding option in setRoundingFromString
Commits on May 9, 2019
  1. Add context oriented methods and line by line test suite parser (#33)

    Joshcarp committed May 9, 2019
    * Add rounding context oriented
    
    * Reshuffle Context64 and Decimal64 methods
    
    * Change default context to be exported
Commits on Apr 24, 2019
  1. Add Fused Multiply Add function (FMA) (#31)

    Joshcarp committed Apr 24, 2019
    *FMA function with no intermediate rounding 
    
    * Add ability to ignore Panics and Rounding errors in Suite_test
Commits on Apr 3, 2019
  1. Optimise rounding and rounding types (#30)

    Joshcarp committed Apr 3, 2019
    * Remove roundContext type, reassociate methods with roundingMode
    
    * Tighten up rounding logic
Commits on Apr 1, 2019
  1. Fix Mul function to pass ddMultiply (#27)

    Joshcarp committed Apr 1, 2019
    * Change TestfromSuite to test Mul
    
    * Fix Mul funciton to pass ddMul.dectest
Commits on Mar 29, 2019
  1. Add support for payload Nans (#26)

    Joshcarp committed Mar 29, 2019
    * Add Payload Nan function and creation in scan function
    
    * Fix propagateNan to return SNaNs first
    
    * Make nan string scanning scan lower case nan
Commits on Mar 25, 2019
  1. Fix add arithmetic to pass dectest ddAdd.dectest (#23)

    Joshcarp committed Mar 25, 2019
    *Add decParts struct for unpacking decimal 
    
    * Fix rounding attributes  and add rounding iotas and structs except for rounding down and round ceiling
    
    * Make struct methods match scales 
    
    * Add decparts oriented matchscales
    
    * Add Nan propagation function, remove SNaN Panics
    
    * Fix Cmps, Add more dectest functionality
Commits on Feb 11, 2019
  1. Add dectest suite and regex parser (#18)

    Joshcarp committed Feb 11, 2019
    * Add dectest suite
    * Add regexparser for dectest suite
    * fix error printing
    * Add .gitattributes
Commits on Jan 28, 2019
  1. Add overflow protection and rounding to +- inf for Add function (#14)

    Joshcarp committed Jan 28, 2019
    * Simplify newFromParts, inf protection moved to arithmetic functions
    * Overflow protection, rounding to inf in Add, Sub, Mul, Quo 
    * Global variables Max decimal 64 and max significand
Commits on Jan 3, 2019
  1. Merge pull request #10 from juliaogris/faster-tests

    Joshcarp committed Jan 3, 2019
    Skip long running tests for -short flag
Commits on Dec 26, 2018
  1. Merge pull request #9 from Joshcarp/master

    Joshcarp committed Dec 26, 2018
    added travis config and gometalinter config
Commits on Dec 24, 2018
  1. added travis config and gometalinter config

    Joshcarp committed Dec 24, 2018
You can’t perform that action at this time.