← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [office-formula] POISSON

From
Andreas J Guelzow <>
Date
2009-01-13T07:10:15+00:00
ID
1231830599.32194.2.camel@localhost
Thread
Re: [office-formula] POISSON
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,  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

--
← Prev in month ← Prev in thread
Next in thread → Next in month →