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: fortio/safecast
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: fortio/safecast
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Aug 23, 2025

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

Commits on Aug 25, 2025

  1. Allow NaN<->NaN 32<->64 bits (#15)

    * Allow NaN<->NaN 32<->64 bits
    
    * Linter
    
    * better check, my bad
    ldemailly authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    1461582 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. Fix issue with max int32/int64 conversion to float 32, add a simpler …

    …safecast.Conv and safecast.MustConv that only deal with Integers (leaving Convert for backward compatibility) (#17)
    
    * Add boundary check for signed int32
    
    * show only int32 has the issue, not uint32
    
    * Fix the bug, also provide simpler Integer only variants
    
    * move the test for Conv below the test for Convert
    
    * Handle MaxInt64 too
    
    * better when it compiles
    
    * Arm is the dicier one so lets get coverage there
    
    * update the readme
    
    * Handle +Inf too - fixes #18
    
    * update comments
    
    * minor readability improvement
    ldemailly authored Aug 26, 2025
    Configuration menu
    Copy the full SHA
    c51d55f View commit details
    Browse the repository at this point in the history
Loading