Standard library / math

math.SqrtE

Square root of e. Expected stdout: '1.648721\n'.

Formal Syntax & Structure

go syntaxgo
const SqrtE   = 1.64872127070012814684865078781416357165377610071014801157507931

Working Example

Example Snippetgo
package main
import (  "fmt"  "math")
func main() {  fmt.Printf("%.6f\n", math.SqrtE)}
Go Reference