You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// You can edit this code!
// Click here and start typing.
package main
import (
"fmt"
"math"
)
func main() {
b := math.Tan(math.Pi / 4)
fmt.Println(b)
}
What did you see happen?
On Arm64 env:
0.9999999999999998
On Amd64 env:
1
What did you expect to see?
Results should be same and equal to 1.
The text was updated successfully, but these errors were encountered:
Go version
go version go1.21.5 darwin/arm64 and linux/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
On Arm64 env:
On Amd64 env:
What did you expect to see?
Results should be same and equal to 1.
The text was updated successfully, but these errors were encountered: