Thread: setseed() doc
View Single Post

   
  #2 (permalink)  
Old 04-18-2008, 09:57 AM
Dennis Bjorklund
 
Posts: n/a
Default Re: setseed() doc

Tom Lane skrev:

>> <entry><literal><function>setseed</function>(<type>dp</type>)</literal></entry>
>> <entry><type>int</type></entry>
>> - <entry>set seed for subsequent <literal>random()</literal> calls</entry>
>> + <entry>set seed for subsequent <literal>random()</literal> calls (value between -1.0 and 1.0)</entry>

>
> Looking at the code, it would appear that the intended range is 0 to 1.


Ok.

What about the return value? The doc didn't say anything about it.

/Dennis

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote