Skip to content

Instantly share code, notes, and snippets.

@as
Created August 19, 2018 11:33
Show Gist options
  • Save as/7c38aad2f07fc4cb188f1f1a02f57ddc to your computer and use it in GitHub Desktop.
Save as/7c38aad2f07fc4cb188f1f1a02f57ddc to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
func main() {
ε := 0.1
if ε == -1+ε+1 {
panic("ε")
} else {
defer fmt.Printf("%.54f", ε)
}
fmt.Printf("%f\n", ε)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment