File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Path to sources
2
+ sonar.sources =.
3
+ sonar.exclusions =*_test.go
4
+ # sonar.inclusions=
5
+
6
+ # Path to tests
7
+ # sonar.tests=
8
+ # sonar.test.exclusions=
9
+ # sonar.test.inclusions=
Original file line number Diff line number Diff line change @@ -46,11 +46,16 @@ func NewDecimal(prec int) *Real {
46
46
return NewReal (prec , 10 )
47
47
}
48
48
49
- // NewHexdecimal returns a new Real with base 16.
50
- func NewHexdecimal (prec int ) * Real {
49
+ // NewHexadecimal returns a new Real with base 16.
50
+ func NewHexadecimal (prec int ) * Real {
51
51
return NewReal (prec , 16 )
52
52
}
53
53
54
+ // NewHexdecimal is synonym with NewHexadecimal.
55
+ func NewHexdecimal (prec int ) * Real {
56
+ return NewHexadecimal (prec )
57
+ }
58
+
54
59
func (z * Real ) init () {
55
60
if z .base != 0 {
56
61
return
You can’t perform that action at this time.
0 commit comments