[Snek] [keith-packard/snek] 73a47a: Provide a smaller implementation of powf (along wi...

Keith Packard noreply at github.com
Thu Oct 31 02:35:51 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 73a47a3f0882d0f2b4805759bec9cfb310d2c655
      https://github.com/keith-packard/snek/commit/73a47a3f0882d0f2b4805759bec9cfb310d2c655
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M chips/avr/snek-avr.defs
    M ports/duemilanove/Makefile
    A snek-pow.c

  Log Message:
  -----------
  Provide a smaller implementation of powf (along with expf and logf)

These are useful on limited memory systems as the ones included in the math
library are quite a bit larger (and more accurate, and faster).

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 58f2560b21555ce254e7337d39013ba3b67e0ae1
      https://github.com/keith-packard/snek/commit/58f2560b21555ce254e7337d39013ba3b67e0ae1
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M ports/duemilanove/Makefile
    M ports/itsybitsy3v/Makefile
    M ports/itsybitsy5v/Makefile
    M snek-code.c
    M snek-gram.ll
    M snek-keyword.builtin
    M snek.defs
    M snek.h

  Log Message:
  -----------
  Make 'assert' always available

With the smaller pow function, there's enough space for assert everywhere,
so let's just make it always present.

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/04bb40ced8ca...58f2560b2155


More information about the Snek mailing list