Subject | Re: [firebird-support] Re: Database for images |
---|---|
Author | Micha Feigin |
Post date | 2007-05-10T15:22:21Z |
On Wed, 9 May 2007 19:39:27 +0200
"Ivan Prenosil" <Ivan.Prenosil@...> wrote:
"Ivan Prenosil" <Ivan.Prenosil@...> wrote:
> >> No, maximum is 32K-1.Aren't the pages zero valued also?
> >
> > Oooops!
> >
> >
> >> > Additionally, 64KB also fits into an *unsigned* short integer value.
> >>
> >> The same, maximum is 64K - 1.
> >
> > The range for a signed short is -32,768 to 32,767 -- this has 65,536
> > values (== 64KB).
>
> Yes.
>
> > So, an unsigned short can support a value of 64KB.
>
> No, you forgot to count zero value :)
>
> Ivan