|
math: add functions; update tests and special cases
Added special cases to comments for asin.go and fabs.go.
Added Trunc() to floor.go and floor_386.s. Fixed formatting
error in hypot_386.s Added new functions Acosh, Asinh,
Atanh, Copysign, Erf, Erfc, Expm1, and Log1p. Added
386 FPU version of Fmod. Added tests, benchmarks, and
precision to expected results in all_test.go. Edited
makefile so it all compiles.
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1727 lines, -148 lines) |
Patch |
 |
M |
src/pkg/math/Makefile
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/acosh.go
|
View
|
1
2
3
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/all_test.go
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
21 chunks |
+644 lines, -141 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/asin.go
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
A |
src/pkg/math/asinh.go
|
View
|
1
2
3
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/atanh.go
|
View
|
1
2
3
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/copysign.go
|
View
|
1
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/erf.go
|
View
|
1
2
3
|
1 chunk |
+340 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/exp.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
src/pkg/math/expm1.go
|
View
|
1
2
3
|
1 chunk |
+238 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/fabs.go
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/floor.go
|
View
|
|
3 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/math/floor_386.s
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/floor_decl.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/fmod_386.s
|
View
|
1
2
3
8
9
10
11
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/math/fmod_decl.go
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/math/hypot_386.s
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
src/pkg/math/log1p.go
|
View
|
1
2
3
8
9
10
|
1 chunk |
+200 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17
|