Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
b86bb495
Commit
b86bb495
authored
Feb 11, 2015
by
HuangRui
Browse files
Move powersOf10 to spi-flash.
parent
d49182c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/libc/c_stdlib.c
View file @
b86bb495
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
#include "c_types.h"
#include "c_types.h"
#include "c_string.h"
#include "c_string.h"
#include "user_interface.h"
#include "user_interface.h"
#include "user_config.h"
// const char *lua_init_value = "print(\"Hello world\")";
// const char *lua_init_value = "print(\"Hello world\")";
const
char
*
lua_init_value
=
"@init.lua"
;
const
char
*
lua_init_value
=
"@init.lua"
;
...
@@ -57,7 +58,7 @@ const char *c_getenv(const char *__string)
...
@@ -57,7 +58,7 @@ const char *c_getenv(const char *__string)
#include <string.h>
#include <string.h>
//#include "mprec.h"
//#include "mprec.h"
double
powersOf10
[]
=
/* Table giving binary powers of 10. Entry */
double
powersOf10
[]
ICACHE_STORE_ATTR
ICACHE_RODATA_ATTR
=
/* Table giving binary powers of 10. Entry */
{
{
10
.,
/* is 10^2^i. Used to convert decimal */
10
.,
/* is 10^2^i. Used to convert decimal */
100
.,
/* exponents into floating-point numbers. */
100
.,
/* exponents into floating-point numbers. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment