Mesh-processing-library/test/tRandom.ref

54 строки
1.2 KiB
Plaintext
Исходник Постоянная ссылка Обычный вид История

2016-04-29 02:24:26 +03:00
r1.get_unsigned() = 3499211612
r2.get_unsigned() = 3499211612
r1.get_unsigned() = 581869302
r2.get_unsigned() = 581869302
r1.get_unsigned() = 3890346734
r2.get_unsigned() = 3890346734
r1.get_unsigned() = 3499211612
r1.get_unsigned() = 581869302
r1.get_unsigned() = 3890346734
0.5f = 0.5
0.5f*pow(2.f, 32.f) = 2.14748e+09
0.5f*pow(2.f, 64.f) = 9.22337e+18
sqrt(1.f/12.f) = 0.288675
sqrt(1.f/12.f)*pow(2.f, 32.f) = 1.23985e+09
sqrt(1.f/12.f)*pow(2.f, 64.f) = 5.32512e+18
vmin=10012 vmax=4294965080
vmin=1.40971e-06 vmax=0.999999 1.-vmax=5.15884e-07
Random::G.get_unsigned() = 3499211612
r1.get_uint64() = 1367418248335452822
ar = Array<int>(6) {
2
3
4
5
0
1
}
ar = Array<int>(6) {
3
1
5
4
2
0
}
ar = Array<unsigned int>(11) {
970
893
913
901
955
917
920
899
887
862
883
}
# S99: (10000 ) 301790:4.25103e+09 av=2.1032611e+09 sd=1.223186e+09
# Suint64: (1000000) 1.42599e+12:1.84467e+19 av=9.2232731e+18 sd=5.3264846e+18
# Sgauss: (1000000) -4.51686:5.32224 av=0.00011195619 sd=1.0007869
# Sunif: (1000000) 3.37488e-07:0.999999 av=0.50007713 sd=0.28866062
# Sint: (1000000) 23813:4.29496e+09 av=2.1466998e+09 sd=1.2397856e+09