Jump to content

Pseudo-random numbers/Xorshift star: Difference between revisions

m
→‎{{header|Factor}}: make it return a float instead of a ratio
(Add Factor)
m (→‎{{header|Factor}}: make it return a float instead of a ratio)
Line 103:
state<< const * mask64 bitand -32 shift mask32 bitand ;
 
: next-float ( obj -- nx ) next-int 1 32 shift /f ;
 
! ---=== Task ===---
1,827

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.