Gordon Williams
f5f9b41160
fix accidental renaming of 'random' from79e42fe699d22a7804357eb40f7c784d4f7a3ca0
2016-11-29 20:12:02 +01:00
Gordon Williams
79e42fe699
oops - actually overwrite existing rand implementation so that WIZNET builds don't include the wrong one
2016-11-22 08:53:32 +00:00
Gordon Williams
a4039f556f
Re-add Espruino's old rand function (so no malloc, and ~1kB RAM, ~3kB ROM saved)
2016-11-21 17:41:59 +00:00
Gordon Williams
da5ad83ebf
use espruino-provided sqrt
2016-03-04 12:47:31 +00:00
Gordon Williams
9781bacee8
Remove Espruino's built-in strcpy/etc
...
Remove Espruino's built-in maths
Add basic Taylor series sin and atan for when we're trying to save memory
2016-03-04 12:37:35 +00:00
Gordon Williams
933d14a988
refactor comments
2014-09-11 13:38:48 +01:00
Gordon Williams
204ab7ae0b
big refactor - merge Array and Object Iterators, as they do the same thing
2014-08-08 13:40:51 +01:00
Gordon Williams
47b6bb6035
refactoring - move iterators to their own file
2014-08-08 13:28:49 +01:00
Gordon Williams
31f5aca111
Fix mod operator with NaN/Infinity ( fix #315 )
2014-08-01 14:30:27 +01:00
Gordon Williams
709d033451
remove Double.doubleToIntBits (not standard and you can now use Typed Arrays), and add placeholders for objects that were not previously documented
2014-07-14 12:20:48 +01:00
Gordon Williams
1929eb4495
Improve Math.pow accuracy for small integer powers ( fix #374 )
2014-05-21 10:01:37 +01:00
Gordon Williams
c87697c231
Save memory on Olimexino boards by removing LFN support
2014-05-15 15:08:22 +01:00
Gordon Williams
0ca5d29562
refactoring libraries
2014-05-14 15:13:29 +01:00
Gordon Williams
2ab579f550
Apply patch from Daniel Serpell (with minor tweaks). Also note that this speeds up code with -O3 as well, by around 2%.
...
----
This patch series fixes (and enables by default) the compilation with
link-time-optimization (LTO).
This was tested with gcc-4.8 from https://launchpad.net/gcc-arm-embedded
and results in a 10% code size reduction when compilling with -Os.
Daniel Serpell (3):
Include math function prototypes from the definitions.
Remove memset function, already included as builtin by gcc.
Compile with LTO, gives 10% smaller code.
2014-01-31 09:48:38 +00:00
Gordon Williams
815e772ff0
fix warnings
2013-12-19 11:23:53 +00:00
Gordon Williams
f3d6e0bc83
First commit
2013-09-26 14:39:04 +01:00