Re: [go-nuts] math.Atan implementation

2019-05-30 Thread andrey mirtchovski
Atan is implemented in assembly. for amd64 it's just a call to atan
(lowercase a): https://golang.org/src/math/atan_amd64.s

for 386 it is not: https://golang.org/src/math/atan_386.s

On Thu, May 30, 2019 at 9:15 AM rhiro  wrote:
>
> I'd like to see the implementation for math.Atan, but I see that 
> https://golang.org/src/math/atan.go seems to be a missing body for that 
> function "func Atan(x float64) float64".  Is this code being hidden, or is 
> there some other mechanism preventing it from showing up?  Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/8bf7aa9a-adf3-49b8-b9ee-3582d73b286b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAK4xykX%2B7DQf8vBp5FaF9UzOCvPWYbyn74-cCHQVKFDDUPkZSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] math.Atan implementation

2019-05-30 Thread rhiro
I'd like to see the implementation for math.Atan, but I see that 
https://golang.org/src/math/atan.go seems to be a missing body for that 
function "func Atan(x float64) float64".  Is this code being hidden, or is 
there some other mechanism preventing it from showing up?  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/8bf7aa9a-adf3-49b8-b9ee-3582d73b286b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.