Skip to content

Instantly share code, notes, and snippets.

View haasted's full-sized avatar

Henrik Aasted Sørensen haasted

View GitHub Profile

Keybase proof

I hereby claim:

  • I am haasted on github.
  • I am haasted (https://keybase.io/haasted) on keybase.
  • I have a public key whose fingerprint is BC9C AA44 AE94 95BF 3BE7 2670 C7D6 69FB 5845 9EAF

To claim this, I am signing this object:

@haasted
haasted / nearlyequals_test.go
Created February 27, 2019 12:45
Go version of the nearlyEqual function for float values described at https://floating-point-gui.de/errors/comparison/
package main
import (
"math"
"testing"
"github.com/stretchr/testify/assert"
)
var (
FROM jekyll/builder:3.5
RUN gem install jekyll-sitemap
RUN gem install jekyll-seo-tag
RUN gem install jekyll-paginate
# https://hub.docker.com/r/haasted/jekyll/