forked from cpmech/gosl
/
constants.go
25 lines (18 loc) · 892 Bytes
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2016 The Gosl Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package utl
const (
// SQ2 = sqrt(2) [https://oeis.org/A002193]
SQ2 = 1.41421356237309504880168872420969807856967187537694807317667974
// SQ3 = sqrt(3) [https://oeis.org/A002194]
SQ3 = 1.73205080756887729352744634150587236694280525381038062805580698
// SQ5 = sqrt(5) [https://oeis.org/A002163]
SQ5 = 2.23606797749978969640917366873127623544061835961152572427089724
// SQ6 = sqrt(6) [https://oeis.org/A010464]
SQ6 = 2.44948974278317809819728407470589139196594748065667012843269257
// SQ7 = sqrt(7) [https://oeis.org/A010465]
SQ7 = 2.64575131106459059050161575363926042571025918308245018036833446
// SQ8 = sqrt(8) [https://oeis.org/A010466]
SQ8 = 2.82842712474619009760337744841939615713934375075389614635335947
)