Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ALTree/bigfloat
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: ALTree/bigfloat
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 12 files changed
  • 3 contributors

Commits on Sep 18, 2016

  1. all: floats -> bigfloat

    ALTree committed Sep 18, 2016
    Configuration menu
    Copy the full SHA
    dc2c4d5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev'

    ALTree committed Sep 18, 2016
    Configuration menu
    Copy the full SHA
    9c630da View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2016

  1. all: use sub-benchmarks

    Updates #30
    ALTree committed Oct 21, 2016
    Configuration menu
    Copy the full SHA
    ae0f20d View commit details
    Browse the repository at this point in the history

Commits on May 6, 2018

  1. Configuration menu
    Copy the full SHA
    b176f1e View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. add go.mod file

    ALTree committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    4a33235 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2022

  1. Fixing typo.

    deining committed Jan 1, 2022
    Configuration menu
    Copy the full SHA
    3f6aac3 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Merge pull request #39 from deining/typo

    Fixing typo
    ALTree authored Jan 2, 2022
    Configuration menu
    Copy the full SHA
    38c8b72 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. sqrt: delete, use stdlib big.Sqrt

    The arbitrary precision Sqrt implementation here was committed into
    the standard library as big.Float.Sqrt.
    
    This change deletes the old implementation and switches to using the
    stdlib one in the other methods.
    
    name          old time/op    new time/op    delta
    Log/100-4        141µs ±29%      82µs ±24%  -41.89%  (p=0.008 n=5+5)
    Log/1000-4       488µs ±16%     306µs ±24%  -37.25%  (p=0.008 n=5+5)
    Log/10000-4     6.45ms ±26%    5.73ms ±30%     ~     (p=0.548 n=5+5)
    Log/100000-4     142ms ±12%     132ms ± 4%     ~     (p=0.056 n=5+5)
    
    name          old alloc/op   new alloc/op   delta
    Log/100-4       41.6kB ± 0%    24.9kB ± 0%     ~     (p=0.079 n=4+5)
    Log/1000-4       128kB ± 0%      75kB ± 0%  -41.34%  (p=0.016 n=4+5)
    Log/10000-4     1.60MB ± 0%    1.22MB ± 0%  -23.41%  (p=0.008 n=5+5)
    Log/100000-4    21.5MB ± 0%    18.7MB ± 0%  -12.90%  (p=0.008 n=5+5)
    
    name          old allocs/op  new allocs/op  delta
    Log/100-4          398 ± 0%       143 ± 0%  -64.07%  (p=0.008 n=5+5)
    Log/1000-4         804 ± 0%       243 ± 0%  -69.78%  (p=0.008 n=5+5)
    Log/10000-4      1.50k ± 0%     0.40k ± 0%  -73.38%  (p=0.008 n=5+5)
    Log/100000-4     2.53k ± 0%     0.72k ± 1%  -71.75%  (p=0.008 n=5+5)
    ALTree committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    d63a53e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5359a3e View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2026

  1. pow: add negative base tests

    ALTree committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    b2fe37b View commit details
    Browse the repository at this point in the history
  2. fix: support negative base with integer exponent in Pow

    Pow(-2, 3) previously panicked with "Pow: negative base", even
    though (-2)^3 = -8 is well-defined. This matches the behavior of
    math.Pow from the standard library.
    
    Now handles negative base when the exponent is an integer by
    computing |z|^w and negating the result for odd exponents.
    Still panics for negative base with non-integer exponent (which
    would require complex numbers).
    
    Fixes #35
    Yanhu007 authored and ALTree committed Aug 18, 2026
    Configuration menu
    Copy the full SHA
    756f4f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67bde9b View commit details
    Browse the repository at this point in the history
Loading