Skip to content

Commit 2591d14

Browse files
Merge pull request #15 from goinsane/develop
v1.6.1
2 parents 5b7bc53 + 4108482 commit 2591d14

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.sonarcloud.properties

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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=

real.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ func NewDecimal(prec int) *Real {
4646
return NewReal(prec, 10)
4747
}
4848

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 {
5151
return NewReal(prec, 16)
5252
}
5353

54+
// NewHexdecimal is synonym with NewHexadecimal.
55+
func NewHexdecimal(prec int) *Real {
56+
return NewHexadecimal(prec)
57+
}
58+
5459
func (z *Real) init() {
5560
if z.base != 0 {
5661
return

0 commit comments

Comments
 (0)