Branch: Tag:

2015-09-14

2015-09-14 12:27:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Doc: Fixed documentation of random(float).

Fixes [LysLysKOM 21443522] reported by Per Cederqvist. Thanks.

1: - /* -*- c -*- + /* -*- mode: c; encoding: utf-8; -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information.
2077:   }      /*! @decl int random(int max) -  *! @decl float random(float max) +     *! -  *! This function returns a random number in the range 0 - @[max]-1. +  *! This function returns a random number in the range @expr{0 .. @[max]-1@}.    *!    *! @seealso    *! @[random_seed()]    */    -  + /*! @decl float random(float max) +  *! +  *! This function returns a random number in the range @expr{0 .. @[max]-ɛ@}. +  *! +  *! @seealso +  *! @[random_seed()] +  */ +    PMOD_EXPORT   PIKEFUN int random(int i)   {