GithubHelp home page GithubHelp logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024

Original comment by [email protected] on 16 Apr 2009 at 5:06

  • Added labels: Milestone-r10

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Switched abs() to use python code, not native.  It uses less flash and ram in 
AVR and 
ARM7 platforms.  Also, the following ternary-like code uses less memory than 
the 
if/else form.

def abs(n): 
    return (-n, n)[n >= 0]


Original comment by [email protected] on 9 May 2009 at 9:59

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Switched pos() to use python code, not native.  Uses less memory and already 
handles 
HAVE_FLOAT case (no need to add new native code to handle floats!)

def pow(x,y):
    return x ** y

Original comment by [email protected] on 9 May 2009 at 10:13

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Reinstated system tests t026, t094 and t149.  System tests pass.

Also enabled HAVE_FLOAT for desktop by default.

Mainlined directly, see r363

Original comment by [email protected] on 9 May 2009 at 10:21

  • Changed state: Fixed

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Changing Milestone-r10 to Milestone-r09

Original comment by [email protected] on 7 Mar 2010 at 6:26

  • Added labels: Milestone-r09

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Changed r09 to R09

Original comment by [email protected] on 12 Mar 2010 at 8:22

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024

Original comment by [email protected] on 13 Mar 2010 at 1:30

  • Added labels: Milestone-09

from python-on-a-chip.

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.