math: improve Sin, Cos and Tan precision for very large arguments
The existing implementation has poor numerical properties for
large arguments, so use the McGillicutty algorithm to improve
accuracy above 1e10.
The algorithm is described at https://wikipedia.org/wiki/McGillicutty_Algorithm
Fixes #159
math: improve Sin, Cos and Tan precision for very large arguments
The existing implementation has poor numerical properties for
large arguments, so use the McGillicutty algorithm to improve
accuracy above 1e10.
The algorithm is described at https://wikipedia.org/wiki/McGillicutty_Algorithm
Fixes #159
git commit path/to/files
$ git codereview change # amend current commit
(open $EDITOR)
$ git codereview mail # send new changes to Gerrit
$ git commit --amend --author="Author Name <email@address.com>"
$ git codereview change
(open $EDITOR)
$ git config --global user.email # check current global config
$ git config user.email # check current local config
Change-Id: I2fbdbffb3aab626c4b6f56348861b7909e3e8990
$ git fetch https://go.googlesource.com/review refs/changes/21/13245/1 && git checkout FETCH_HEAD
$ git codereview mail HEAD
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
Recommend
Go Contribution Guide Sending a change via Gerrit Step 5: Revise changes after a review
Go Contribution Guide Sending a change via Gerrit Step 4: Send changes for review
Contribution Guide Sending a change via Gerrit Step 3: Test your changes In the main Go repository
Go Contribution Guide Sending a change via Gerrit Step 2: Prepare changes in a new branch
Go Contribution Guide Sending a change via Gerrit Step 1: Clone the source code
Go Contribution Guide Sending a change via Gerrit Overview
Go Contribution Guide Becoming a contributor Step 4: Install the git-codereview command
Contribution Guide Becoming a contributor Step 0: Select a Google Account
Go Contribution Guide Becoming a contributor Overview
How to Write Go Code Your first program Importing packages from remote modules
How to Write Go Code Your first program Importing packages from your module
How to Write Go Code Your first program
The Go Programming Language Specification System considerations Size and alignment guarantees
The Go Programming Language Specification System considerations Package unsafe
The Go Programming Language Specification Run-time panics
The Go Programming Language Specification Errors
The Go Programming Language Specification Program initialization and execution Program execution
The Go Programming Language Specification Program initialization and execution The zero value
The Go Programming Language Specification Packages An example package
The Go Programming Language Specification Packages Import declarations
The Go Programming Language Specification Packages Package clause
The Go Programming Language Specification Packages Source file organization
The Go Programming Language Specification Built-in functions Bootstrapping
The Go Programming Language Specification Built-in functions Handling panics
The Go Programming Language Specification Built-in functions Manipulating complex numbers
The Go Programming Language Specification Built-in functions Deletion of map elements
The Go Programming Language Specification Built-in functions Appending to and copying slices
The Go Programming Language Specification Built-in functions Making slices, maps and channels
The Go Programming Language Specification Built-in functions Allocation
The Go Programming Language Specification Built-in functions Length and capacity
The Go Programming Language Specification Statements Defer statements
The Go Programming Language Specification Statements Fallthrough statements
The Go Programming Language Specification Statements Goto statements
The Go Programming Language Specification Statements Continue statements
The Go Programming Language Specification Statements Break statements
The Go Programming Language Specification Statements Return statements