Skip to content

rand(Float32, n) generates two values of the same number over and over when n is < 16 #57336

@KristofferC

Description

@KristofferC
julia> rand(Float32, 8)
8-element Vector{Float32}:
 0.20123601
 0.20123601
 0.20944309
 0.20944309
 0.22612727
 0.22612727
 0.67038965
 0.67038965

Metadata

Metadata

Assignees

No one assigned

    Labels

    randomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions