1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:31:21 -06:00
go/src/pkg/math
Charles L. Dorian 94b0342f17 math: document more special cases
Acosh, Asinh, Atanh, Ceil, Floor, Trunc, Mod and Remainder affected. These changes add some non-finite arguments and results (and -0.0 results).

R=rsc, golang-dev
CC=golang-dev
https://golang.org/cl/5469046
2011-12-08 17:07:13 -05:00
..
big math/big: fix destination leak into result value 2011-11-30 09:29:58 -08:00
cmplx renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
rand renaming_1: hand-edited files for go 1 renaming 2011-11-08 15:38:47 -08:00
abs_386.s math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
abs_amd64.s math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
abs_decl.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
abs.go math: update special-conditions comments to use ± symbol 2011-11-28 13:04:52 -08:00
acosh.go math: document more special cases 2011-12-08 17:07:13 -05:00
all_test.go math: document special-cases behavior for Dim, Max and Min 2011-12-07 14:52:17 -05:00
asin_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
asin_decl.go math: 386 FPU functions 2010-01-15 13:21:36 -08:00
asin.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
asinh.go math: document more special cases 2011-12-08 17:07:13 -05:00
atan2_386.s build: clear execute bit from source files 2011-10-06 18:33:13 +09:00
atan2_decl.go build: clear execute bit from Go files 2011-09-05 07:48:42 -04:00
atan2.go math: atan2 special cases (negative zero) 2010-04-08 13:24:04 -07:00
atan_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
atan_decl.go math: 386 FPU functions 2010-01-15 13:21:36 -08:00
atan.go math: more special cases for signed zero 2010-04-26 22:44:39 -07:00
atanh.go math: document more special cases 2011-12-08 17:07:13 -05:00
bits.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
cbrt.go math: faster Cbrt 2011-11-21 09:56:07 -05:00
const.go src/pkg: make package doc comments consistently start with "Package foo". 2011-04-20 09:57:05 +10:00
copysign.go math: atan2 special cases (negative zero) 2010-04-08 13:24:04 -07:00
dim_amd64.s math: document special-cases behavior for Dim, Max and Min 2011-12-07 14:52:17 -05:00
dim_decl.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
dim.go math: document special-cases behavior for Dim, Max and Min 2011-12-07 14:52:17 -05:00
erf.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
exp2_386.s math: add Exp2; 386 FPU versions of Exp2 and Log1p 2010-02-10 00:06:41 -08:00
exp2_decl.go math: add Exp2; 386 FPU versions of Exp2 and Log1p 2010-02-10 00:06:41 -08:00
exp2.go math: improve accuracy of Exp2 2010-12-06 16:24:51 -05:00
exp_386.s math: added ilogb, logb, remainder, tests and special conditions 2010-03-03 18:17:13 -08:00
exp_amd64.s math: change float64 bias constant from 1022 to 1023 2010-12-15 13:20:52 -05:00
exp_decl.go math: 386 FPU functions 2010-01-15 13:21:36 -08:00
exp_port.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
exp_test.go math: improve accuracy of Exp2 2010-12-06 16:24:51 -05:00
exp.go math: improve accuracy of Exp2 2010-12-06 16:24:51 -05:00
expm1_386.s math: added ilogb, logb, remainder, tests and special conditions 2010-03-03 18:17:13 -08:00
expm1_decl.go math: added ilogb, logb, remainder, tests and special conditions 2010-03-03 18:17:13 -08:00
expm1.go go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
floor_386.s math: add functions; update tests and special cases 2010-02-01 22:21:40 -08:00
floor_decl.go math: add functions; update tests and special cases 2010-02-01 22:21:40 -08:00
floor.go math: document more special cases 2011-12-08 17:07:13 -05:00
fltasm_amd64.s gc: new typechecking rules 2010-06-08 18:50:02 -07:00
frexp_386.s math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
frexp_decl.go math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
frexp.go math: handle denormals in Frexp, Ilogb, Ldexp, and Logb 2011-01-19 14:23:59 -05:00
gamma.go math: update special-conditions comments to use ± symbol 2011-11-28 13:04:52 -08:00
hypot_386.s math: add functions Log2, Nextafter, Fdim, Fmax, Fmin 2010-02-09 13:33:12 -08:00
hypot_amd64.s math: fix amd64 Hypot. 2010-08-06 16:50:48 -07:00
hypot_decl.go math: 386 FPU hypot 2010-01-26 12:53:02 -08:00
hypot_port.go math: faster hypot 2010-03-05 16:45:39 -08:00
hypot_test.go math: faster hypot 2010-03-05 16:45:39 -08:00
hypot.go math: faster hypot 2010-03-05 16:45:39 -08:00
j0.go math: use ** for exponentiation in comments 2010-04-09 14:37:33 -07:00
j1.go math: use ** for exponentiation in comments 2010-04-09 14:37:33 -07:00
jn.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
ldexp_386.s math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
ldexp_decl.go math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
ldexp.go math: handle denormals in Frexp, Ilogb, Ldexp, and Logb 2011-01-19 14:23:59 -05:00
lgamma.go math: faster Lgamma 2011-11-09 15:44:49 -05:00
log1p_386.s math: add Exp2; 386 FPU versions of Exp2 and Log1p 2010-02-10 00:06:41 -08:00
log1p_decl.go math: add Exp2; 386 FPU versions of Exp2 and Log1p 2010-02-10 00:06:41 -08:00
log1p.go math: fix typo in Log1p comments 2011-11-27 18:01:08 -08:00
log10_386.s math: amd64 version of log 2010-07-12 11:30:11 -07:00
log10_decl.go math: amd64 version of log 2010-07-12 11:30:11 -07:00
log10.go math: amd64 version of log 2010-07-12 11:30:11 -07:00
log_386.s math: amd64 version of log 2010-07-12 11:30:11 -07:00
log_amd64.s math: amd64 version of log 2010-07-12 11:30:11 -07:00
log_decl.go math: amd64 version of log 2010-07-12 11:30:11 -07:00
log.go pkg: spelling tweaks, I-Z 2011-05-30 18:02:59 +10:00
logb.go math: handle denormals in Frexp, Ilogb, Ldexp, and Logb 2011-01-19 14:23:59 -05:00
Makefile math: faster Sincos 2011-11-30 15:11:44 -05:00
mod_386.s math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
mod_decl.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
mod.go math: document more special cases 2011-12-08 17:07:13 -05:00
modf_386.s math: special cases for Modf, Frexp and Ldexp; added Modf_386 2010-02-05 00:41:30 -08:00
modf_decl.go math: special cases for Modf, Frexp and Ldexp; added Modf_386 2010-02-05 00:41:30 -08:00
modf.go math: update special-conditions comments to use ± symbol 2011-11-28 13:04:52 -08:00
nextafter.go math: document more special cases 2011-12-08 17:07:13 -05:00
pow10.go math: fix Pow10 loop 2011-08-24 13:59:52 -04:00
pow.go math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
remainder_386.s math: added ilogb, logb, remainder, tests and special conditions 2010-03-03 18:17:13 -08:00
remainder_decl.go math: added ilogb, logb, remainder, tests and special conditions 2010-03-03 18:17:13 -08:00
remainder.go math: document more special cases 2011-12-08 17:07:13 -05:00
signbit.go math: atan2 special cases (negative zero) 2010-04-08 13:24:04 -07:00
sin_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
sin_decl.go math: 386 FPU functions 2010-01-15 13:21:36 -08:00
sin.go math: document special-cases behavior for Dim, Max and Min 2011-12-07 14:52:17 -05:00
sincos_386.s math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
sincos_amd64.s math: amd64 version of Sincos 2010-08-26 19:03:58 -04:00
sincos_decl.go math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp 2010-02-18 23:33:15 -08:00
sincos.go math: add special-cases comments to Sinh and Tanh. 2011-12-05 14:01:24 -05:00
sinh.go math: add special-cases comments to Sinh and Tanh. 2011-12-05 14:01:24 -05:00
sqrt_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
sqrt_amd64.s math: amd64 versions of fdim, fmax, fmin 2010-05-18 22:33:50 -07:00
sqrt_arm.s math: add sqrt_arm.s and sqrtGoC.go as fallback to soft fp emulation 2011-06-09 17:19:08 -04:00
sqrt_decl.go apply gofmt to malloc math once os 2009-10-06 19:40:35 -07:00
sqrt_port.go math: add sqrt_arm.s and sqrtGoC.go as fallback to soft fp emulation 2011-06-09 17:19:08 -04:00
sqrt_test.go math: fix pow10 comment, test portable Sqrt 2010-01-11 11:25:37 -08:00
sqrt.go math: signed zero Sqrt special case 2010-05-18 22:16:01 -07:00
tan_386.s in C and asm, replace pkg·name with ·name 2010-01-25 18:52:55 -08:00
tan_decl.go math: 386 FPU functions 2010-01-15 13:21:36 -08:00
tan.go math: add special-cases comments to Sinh and Tanh. 2011-12-05 14:01:24 -05:00
tanh.go math: add special-cases comments to Sinh and Tanh. 2011-12-05 14:01:24 -05:00
unsafe.go 1) Change default gofmt default settings for 2009-12-15 15:35:38 -08:00