[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

*Subject*: **Re: [office-formula] POISSON**

*From*:**Andreas J Guelzow <aguelzow@math.concordia.ab.ca>***To*: office-formula@lists.oasis-open.org*Date*: Tue, 13 Jan 2009 00:09:59 -0700

On Mon, 2009-01-12 at 17:09 +0100, Eike Rathke wrote: > Hi Andreas, > > On Sunday, 2008-12-21 16:57:59 -0700, Andreas J. Guelzow wrote: > > > On Sun, 2008-12-21 at 22:57 +0000, erack@sun.com wrote: > > > - POISSON() x is Integer. > > > > The examples include situations were x is not an integer. So what does > > this mean (since the conversion is implementation defined if not > > specified)? > > What do you mean by "implementation defined if not specified"? > In section "4.9.4 Integer" we define > | An integer is simply a subtype of Number that happens to have no > | fractional value. An integer X is equal to INT(X). 6.2.5: If the expected type is Integer for a function or operator, apply the “Conversion to Number” operation. Then, if the result is a Number but not an integer, apply the specific conversion from Number to integer specified by that particular function/operator. If the function or operator does not specify any particular conversion operation, then the conversion from a non-integer Number into an integer is implementation-defined. Since the description of POISSON does not specify any specific conversion from non-integer number to integer, the conversion would be implementation defined. Am I mistaken? Andreas --

**References**:**Re: [office-formula] Groups - OpenDocument Formula Specification2008-12-21 (ODT) (OpenDocument-formula-20081221.odt) uploaded***From:*Eike Rathke <erack@sun.com>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]