oldk1331 wrote:
>
> On Fri, Mar 9, 2018 at 9:46 PM, Waldek Hebisch <[email protected]>
> wrote:
> > Now all things planned for this release are commited. There
> > is now time for testing. Qian says that 'sbcl_make_sized_vector'
> > is buggy -- I will look into this.
>
> Any update on 'sbcl_make_sized_vector'?
Earlier:
> It is a bug to have "`(ceiling (* ,n ,n-bits) sb-vm:n-word-bits)"
> in 'sbcl_make_sized_vector', we should fix it to
> "`(ceiling (* ,n ,nb) sb-vm:n-word-bits)".
The difference between 'n-bits' and 'nb' is that we want 'nb'
but 'n-bits' is what sbcl thinks that we should use. It
is safer to use value that sbcl wants to have. So no
bug.
BTW: The code was changed to current form because simpler
version did not work. I do not remember if I tested
'nb' but first formula that I tried did not work, so
I changed computation to exactly match what sbcl was
doing.
> Also I think it is better to use ALLOCATE-VECTOR-WITH-WIDETAG
> than ALLOCATE-VECTOR.
We can not use ALLOCATE-VECTOR-WITH-WIDETAG because it is not
present in earlier versions of sbcl.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.