Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for asin (0.04 sec)

  1. src/math/asinh.go

    //
    //	Asinh(±0) = ±0
    //	Asinh(±Inf) = ±Inf
    //	Asinh(NaN) = NaN
    func Asinh(x float64) float64 {
    	if haveArchAsinh {
    		return archAsinh(x)
    	}
    	return asinh(x)
    }
    
    func asinh(x float64) float64 {
    	const (
    		Ln2      = 6.93147180559945286227e-01 // 0x3FE62E42FEFA39EF
    		NearZero = 1.0 / (1 << 28)            // 2**-28
    		Large    = 1 << 28                    // 2**28
    	)
    	// special cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:02:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/runtime/asan/asan.go

    // https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_init_version.h
    // This structure describes an instrumented global variable.
    //
    // TODO: If a later version of the ASan library changes __asan_global or __asan_global_source_location
    // structure, we need to make the same changes.
    struct _asan_global {
    	uintptr_t beg;
    	uintptr_t size;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 00:22:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/internal/asan/asan.go

    // Copyright 2024 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.
    
    //go:build asan
    
    package asan
    
    import (
    	"unsafe"
    )
    
    const Enabled = true
    
    //go:linkname Read runtime.asanread
    func Read(addr unsafe.Pointer, len uintptr)
    
    //go:linkname Write runtime.asanwrite
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 399 bytes
    - Viewed (0)
  4. src/runtime/asan.go

    // Copyright 2021 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.
    
    //go:build asan
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Public address sanitizer API.
    func ASanRead(addr unsafe.Pointer, len int) {
    	sp := getcallersp()
    	pc := getcallerpc()
    	doasanread(addr, uintptr(len), sp, pc)
    }
    
    func ASanWrite(addr unsafe.Pointer, len int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/math/cmplx/sin.go

    //
    // then
    //
    //     w = sin x  cosh y  +  i cos x sinh y.
    //
    // csin(z) = -i csinh(iz).
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    DEC       -10,+10      8400       5.3e-17     1.3e-17
    //    IEEE      -10,+10     30000       3.8e-16     1.0e-16
    // Also tested by csin(casin(z)) = z.
    
    // Sin returns the sine of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt

    [msan] ! go install -msan triv.go
    [msan] stderr '-msan requires cgo'
    [msan] ! stderr '-race'
    
    [asan] ! go install -asan triv.go
    [asan] stderr '(-asan: the version of $(go env CC) could not be parsed)|(-asan: C compiler is not gcc or clang)|(-asan is not supported with [A-Za-z]+ compiler (\d+)\.(\d+))|(-asan requires cgo)'
    [asan] ! stderr '-msan'
    
    -- triv.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 626 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	// The asan tests require support for the -asan option.
    	if !platform.ASanSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; -asan option is not supported.", goos, goarch)
    	}
    	// The current implementation is only compatible with the ASan library from version
    	// v7 to v9 (See the description in src/runtime/asan/asan.go). Therefore, using the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. src/internal/asan/doc.go

    // license that can be found in the LICENSE file.
    
    // Package asan contains helper functions for manually instrumenting
    // code for the address sanitizer.
    // The runtime package intentionally exports these functions only in the
    // asan build; this package exports them unconditionally but without the
    // "asan" build tag they are no-ops.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 460 bytes
    - Viewed (0)
  9. src/runtime/asan0.go

    // license that can be found in the LICENSE file.
    
    //go:build !asan
    
    // Dummy ASan support API, used when not built with -asan.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    const asanenabled = false
    
    // Because asanenabled is false, none of these functions should be called.
    
    func asanread(addr unsafe.Pointer, sz uintptr)            { throw("asan") }
    func asanwrite(addr unsafe.Pointer, sz uintptr)           { throw("asan") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 760 bytes
    - Viewed (0)
  10. cmd/object-api-getobjectinfo_test.go

    		{"test-getobjectinfo", "Asia/myfile", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Asia/myfile"}, false},
    		// Valid case with existing object (Test number 12).
    		{"test-getobjectinfo", "Asia/asiapics.jpg", resultCases[0], nil, true},
    		{"test-getobjectinfo", "Asia/empty-dir/", resultCases[1], nil, true},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top