Giter VIP home page Giter VIP logo

Comments (4)

eschkufz avatar eschkufz commented on May 28, 2024

We'll start with support for signed-ness.

Right now, we're a little bit inconsistent about how we treat signs, so cascade's correctness is all over the place. The big issue is that we're lacking useful invariants in the underlying implementation of Bits. Notably, depending on the operations you perform on a bits, you may inadvertently zero pad the representation of a number, effectively upsetting its sign. Let's start by shoring this up.

from cascade.

eschkufz avatar eschkufz commented on May 28, 2024

This turned into a pretty large edit which involved gutting our dependence on libgmp and rolling our own big int library. All tests are currently passing and we have support for signed integers now with no performance regression (actually a bit of a performance increase). I need to check correctness on the de10 since we don't have automated regression tests there yet. Once that's done, I'll commit back against master.

from cascade.

eschkufz avatar eschkufz commented on May 28, 2024

All tests pass in software and hardware (including new sign tests). Time to make signs official.

from cascade.

eschkufz avatar eschkufz commented on May 28, 2024

Next on the list is support for arrays. I'm going to make this a separate ticket, since I anticipate we'll see more tickets like this soon, and it's nice to keep them from getting too large.

from cascade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.