@@ -747,15 +747,15 @@ function rand(::Type{BigFloat}, randstate::BigRNG)
747
747
& z, & randstate, ROUNDING_MODE[end ])
748
748
z
749
749
end
750
- rand (:: Type{BigFloat} ) = rand (BigFloat, Base. GMP . DEFAULT_BIGRNG)
750
+ rand (:: Type{BigFloat} ) = rand (BigFloat, Base. Random . DEFAULT_BIGRNG)
751
751
752
752
function rand! (r:: BigRNG , A:: Array{BigFloat} )
753
753
for i = 1 : length (A)
754
754
A[i] = rand (BigFloat, r)
755
755
end
756
756
A
757
757
end
758
- rand! (A:: Array{BigFloat} ) = rand! (Base. GMP . DEFAULT_BIGRNG, A)
758
+ rand! (A:: Array{BigFloat} ) = rand! (Base. Random . DEFAULT_BIGRNG, A)
759
759
760
760
function randn (:: Type{BigFloat} , randstate:: BigRNG )
761
761
z = BigFloat ()
@@ -764,7 +764,7 @@ function randn(::Type{BigFloat}, randstate::BigRNG)
764
764
& z, C_NULL , & randstate, ROUNDING_MODE[end ])
765
765
z
766
766
end
767
- randn (:: Type{BigFloat} ) = randn (BigFloat, Base. GMP . DEFAULT_BIGRNG)
767
+ randn (:: Type{BigFloat} ) = randn (BigFloat, Base. Random . DEFAULT_BIGRNG)
768
768
randn (:: Type{BigFloat} , dims:: Dims ) = randn! (Array (BigFloat, dims))
769
769
randn (:: Type{BigFloat} , dims:: Int... ) = randn! (Array (BigFloat, dims... ))
770
770
@@ -774,6 +774,6 @@ function randn!(r::BigRNG, A::Array{BigFloat})
774
774
end
775
775
A
776
776
end
777
- randn! (A:: Array{BigFloat} ) = randn! (Base. GMP . DEFAULT_BIGRNG, A)
777
+ randn! (A:: Array{BigFloat} ) = randn! (Base. Random . DEFAULT_BIGRNG, A)
778
778
779
779
end # module
0 commit comments