GithubHelp home page GithubHelp logo

Comments (4)

sletz avatar sletz commented on June 6, 2024

Thanks, do you have a fix for that ?
(I've just found that https://users.rust-lang.org/t/analog-of-c-std-remainder/59670/13)

from faust.

nuchi avatar nuchi commented on June 6, 2024

I don't have a fix, nor do I particularly need one. I'm not a rust user, nor am I using remainder for anything. I just happened to stumble on this and thought I should report it in case any rust users run across mysterious errors and search for it here :)

It looks like the jax backend has a similar issue (there's a "todo" comment next to the remainder line in jax_instructions.hh) so maybe a similar solution would work for rust (define a custom remainder in the architecture file).

But I expect it can wait until a contributor shows up who cares more about rust than I do.

from faust.

DBraun avatar DBraun commented on June 6, 2024

Thanks for the reminder about JAX. I missed the situation in which the second argument is negative... But I feel better about the new PR here #1001.

It's funny how remainder means something different in each library: jax.numpy.remainder is not std::remainder.

from faust.

sletz avatar sletz commented on June 6, 2024

Done in 3fdc3d5
following this discussion: https://users.rust-lang.org/t/analog-of-c-std-remainder/59670

from faust.

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.