mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: unify const names to snake_case
This commit is contained in:
@ -57,7 +57,7 @@ fn log_factorial_asymptotic_expansion(n int) f64 {
|
||||
mut i := 0
|
||||
|
||||
for i = 0; i < m; i++ {
|
||||
term << B[i] / xj
|
||||
term << b_numbers[i] / xj
|
||||
xj *= xx
|
||||
}
|
||||
|
||||
|
@ -5,9 +5,9 @@
|
||||
module factorial
|
||||
|
||||
const (
|
||||
log_sqrt_2pi = 9.18938533204672741780329736e-1
|
||||
log_sqrt_2pi = 9.18938533204672741780329736e-1
|
||||
|
||||
B = [
|
||||
b_numbers = [
|
||||
/* Bernoulli numbers B(2),B(4),B(6),...,B(20). Only B(2),...,B(10) currently
|
||||
* used.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user