Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for sqrt (0.22 sec)

  1. src/cmd/cgo/doc.go

    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Calling C function pointers is currently not supported, however you can
    declare Go variables which hold C function pointers and pass them
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    expression:
    </p>
    
    <pre>
    var a, b, c = f() + v(), g(), sqr(u()) + v()
    
    func f() int        { return c }
    func g() int        { return a }
    func sqr(x int) int { return x*x }
    
    // functions u and v are independent of all other variables and functions
    </pre>
    
    <p>
    The function calls happen in the order
    <code>u()</code>, <code>sqr()</code>, <code>v()</code>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/api/api_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    			};
    
    			const argc = this.argv.length;
    
    			const argvPtrs = [];
    			this.argv.forEach((arg) => {
    				argvPtrs.push(strPtr(arg));
    			});
    			argvPtrs.push(0);
    
    			const keys = Object.keys(this.env).sort();
    			keys.forEach((key) => {
    				argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
    			});
    			argvPtrs.push(0);
    
    			const argv = offset;
    			argvPtrs.forEach((ptr) => {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  5. src/cmd/asm/internal/asm/testdata/s390x.s

    	FMUL	F5, F10                // b31c00a5
    	FDIVS	F6, F9                 // b30d0096
    	FDIV	F7, F8                 // b31d0087
    	FABS	F1, F2                 // b3100021
    	FSQRTS	F3, F4                 // b3140043
    	FSQRT	F5, F15                // b31500f5
    	FIEBR	$0, F0, F1             // b3570010
    	FIDBR	$7, F2, F3             // b35f7032
    	FMADD	F1, F1, F1             // b31e1011
    	FMADDS	F1, F2, F3             // b30e3012
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	//TODO: FRSTORL (R11)                   // 41dd23
    	FSCALE                                  // d9fd
    	FSIN                                    // d9fe
    	FSINCOS                                 // d9fb
    	FSQRT                                   // d9fa
    	//TODO: FST F2                          // ddd2
    	//TODO: FST F3                          // ddd3
    	//TODO: FSTS (BX)                       // d913
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  7. doc/go_spec.html

    expression:
    </p>
    
    <pre>
    var a, b, c = f() + v(), g(), sqr(u()) + v()
    
    func f() int        { return c }
    func g() int        { return a }
    func sqr(x int) int { return x*x }
    
    // functions u and v are independent of all other variables and functions
    </pre>
    
    <p>
    The function calls happen in the order
    <code>u()</code>, <code>sqr()</code>, <code>v()</code>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    	*/
    	_ = realSize
    
    	// Write PAX records to the output.
    	isGlobal := hdr.Typeflag == TypeXGlobalHeader
    	if len(paxHdrs) > 0 || isGlobal {
    		// Sort keys for deterministic ordering.
    		var keys []string
    		for k := range paxHdrs {
    			keys = append(keys, k)
    		}
    		sort.Strings(keys)
    
    		// Write each record to a buffer.
    		var buf strings.Builder
    		for _, k := range keys {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    // license that can be found in the LICENSE file.
    
    // Tests that involve both reading and writing.
    
    package zip
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"hash"
    	"internal/testenv"
    	"io"
    	"runtime"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg math, const Sqrt2 = 1.41421  // 70710678118654752440084436210484903928483593768847403658833987/50000000000000000000000000000000000000000000000000000000000000
    pkg math, const SqrtE = 1.64872  // 164872127070012814684865078781416357165377610071014801157507931/100000000000000000000000000000000000000000000000000000000000000
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top