- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for ctan (0.05 sec)
-
src/math/cmplx/tan.go
// series near these points. // // ctan(z) = -i ctanh(iz). // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // DEC -10,+10 5200 7.1e-17 1.6e-17 // IEEE -10,+10 30000 7.2e-16 1.2e-16 // Also tested by ctan * ccot = 1 and catan(ctan(z)) = z. // Tan returns the tangent of x.
Registered: 2024-06-12 16:32 - Last Modified: 2020-05-01 03:16 - 8.5K bytes - Viewed (0) -
src/math/cmplx/asin.go
// // Where k is an arbitrary integer. // // catan(z) = -i catanh(iz). // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // DEC -10,+10 5900 1.3e-16 7.8e-18 // IEEE -10,+10 30000 2.3e-15 8.5e-17 // The check catan( ctan(z) ) = z, with |x| and |y| < PI/2,
Registered: 2024-06-12 16:32 - Last Modified: 2020-05-01 03:16 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/chan.go
func NewChan(dir ChanDir, elem Type) *Chan { return &Chan{dir: dir, elem: elem} } // Dir returns the direction of channel c. func (c *Chan) Dir() ChanDir { return c.dir } // Elem returns the element type of channel c. func (c *Chan) Elem() Type { return c.elem } func (c *Chan) Underlying() Type { return c }
Registered: 2024-06-12 16:32 - Last Modified: 2021-07-01 22:17 - 910 bytes - Viewed (0) -
src/math/atan.go
Tan3pio8 = 2.41421356237309504880 // tan(3*pi/8) ) if x <= 0.66 { return xatan(x) } if x > Tan3pio8 { return Pi/2 - xatan(1/x) + Morebits } return Pi/4 + xatan((x-1)/(x+1)) + 0.5*Morebits } // Atan returns the arctangent, in radians, of x. // // Special cases are: // // Atan(±0) = ±0 // Atan(±Inf) = ±Pi/2 func Atan(x float64) float64 { if haveArchAtan { return archAtan(x)
Registered: 2024-06-12 16:32 - Last Modified: 2022-04-11 16:34 - 3K bytes - Viewed (0) -
test/ken/chan.go
totr, tots int totLock sync.Mutex nc *Chan ) func init() { nc = new(Chan) } func changeNproc(adjust int) int { nprocLock.Lock() nproc += adjust ret := nproc nprocLock.Unlock() return ret } func mkchan(c, n int) []*Chan { ca := make([]*Chan, n) for i := 0; i < n; i++ { cval = cval + 100 ch := new(Chan) ch.sc = make(chan int, c) ch.rc = ch.sc ch.sv = cval
Registered: 2024-06-12 16:32 - Last Modified: 2012-02-24 05:24 - 4.7K bytes - Viewed (0) -
src/go/types/chan.go
func NewChan(dir ChanDir, elem Type) *Chan { return &Chan{dir: dir, elem: elem} } // Dir returns the direction of channel c. func (c *Chan) Dir() ChanDir { return c.dir } // Elem returns the element type of channel c. func (c *Chan) Elem() Type { return c.elem } func (c *Chan) Underlying() Type { return c }
Registered: 2024-06-12 16:32 - Last Modified: 2024-04-03 18:48 - 1K bytes - Viewed (0) -
src/runtime/chan.go
// instead of idx itself. However, in a future version of this function, // we can use idx to better handle the case of elemsize==0. // A future improvement to the detector is to call TSan with c and idx: // this way, Go will continue to not allocating buffer entries for channels // of elemsize==0, yet the race detector can be made to handle multiple // sync objects underneath the hood (one sync object per idx)
Registered: 2024-06-12 16:32 - Last Modified: 2024-05-23 01:16 - 25.9K bytes - Viewed (0) -
test/syntax/chan.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type xyz struct { ch chan } // ERROR "unexpected .*}.* in channel type|missing channel element type" func Foo(y chan) { // ERROR "unexpected .*\).* in channel type|missing channel element type" } func Bar(x chan, y int) { // ERROR "unexpected comma in channel type|missing channel element type"
Registered: 2024-06-12 16:32 - Last Modified: 2016-05-02 13:43 - 492 bytes - Viewed (0) -
src/math/tan.go
-5.38695755929454629881e7, // 0xc189afe03cbe5a31 } // Tan returns the tangent of the radian argument x. // // Special cases are: // // Tan(±0) = ±0 // Tan(±Inf) = NaN // Tan(NaN) = NaN func Tan(x float64) float64 { if haveArchTan { return archTan(x) } return tan(x) } func tan(x float64) float64 { const (
Registered: 2024-06-12 16:32 - Last Modified: 2022-05-08 17:27 - 3.7K bytes - Viewed (0) -
src/runtime/race/testdata/mop_test.go
func TestRaceForTest(t *testing.T) { done := make(chan bool) c := make(chan bool) stop := false go func() { for { _, ok := <-c if !ok { done <- true return } stop = true } }() for !stop { c <- true } close(c) <-done } func TestRaceForIncr(t *testing.T) { done := make(chan bool) c := make(chan bool) x := 0 go func() { for {
Registered: 2024-06-12 16:32 - Last Modified: 2023-06-23 16:46 - 28.9K bytes - Viewed (0)