Atan in Go

Posted by GoDoc
Public (Editable by Users)

Atan returns the arctangent, in radians, of x.

Go
Edit
package main

import (
	"fmt"
	"math"
)

func main() {
	fmt.Printf("%.2f", math.Atan(0))
}