Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
aba9f51f
Commit
aba9f51f
authored
Apr 03, 2014
by
Damien George
Browse files
stmhal: #undef log2f if it's defined.
parent
6693e6c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/math.c
View file @
aba9f51f
...
...
@@ -64,6 +64,10 @@ float sqrtf(float x) {
// TODO we need import these functions from some library (eg musl or newlib)
float
powf
(
float
x
,
float
y
)
{
return
0
.
0
;
}
float
logf
(
float
x
)
{
return
0
.
0
;
}
// some compilers define log2f in terms of logf
#ifdef log2f
#undef log2f
#endif
float
log2f
(
float
x
)
{
return
0
.
0
;
}
float
log10f
(
float
x
)
{
return
0
.
0
;
}
float
tanhf
(
float
x
)
{
return
0
.
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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