#10763: Improve documentation for random() expression
-------------------------------------+-------------------------------------
             Reporter:  Michael      |                     Type:
  Koch                               |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  documentation                      |  master
             Keywords:  seed         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Please add this to the documentation of the random() expression:

 random(0) uses the variable 0 as a seed value. The memory of variable 0 is
 a union of int and double. When used by the expressions ld() and st(),
 it's double. When used by random(), then it's int. Important thing to
 remember: If you want to set the random generator to a seed value much
 different from 0, then you have to use rather big numbers, for example
 st(0, 2^41).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10763>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to