Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cos (0.15 sec)

  1. doc/go1.17_spec.html

    value is a constant.
    </p>
    
    <pre>
    var a = complex(2, -2)             // complex128
    const b = complex(1.0, -1.4)       // untyped complex constant 1 - 1.4i
    x := float32(math.Cos(math.Pi/2))  // float32
    var c64 = complex(5, -x)           // complex64
    var s int = complex(1, 0)          // untyped complex constant 1 + 0i can be converted to int
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    value is a constant.
    </p>
    
    <pre>
    var a = complex(2, -2)             // complex128
    const b = complex(1.0, -1.4)       // untyped complex constant 1 - 1.4i
    x := float32(math.Cos(math.Pi/2))  // float32
    var c64 = complex(5, -x)           // complex64
    var s int = complex(1, 0)          // untyped complex constant 1 + 0i can be converted to int
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top