diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-26 18:52:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-26 18:52:28 -0600 |
commit | bacbb4255c9408e3ce669563f2fb1d4067947c1a (patch) | |
tree | e6f2493bbab4117b96e5ad8ee8c86a14e9a05610 /apps/interpreters | |
parent | 69283d36b665ba41085021eb36066bfa074c6884 (diff) | |
download | px4-nuttx-bacbb4255c9408e3ce669563f2fb1d4067947c1a.tar.gz px4-nuttx-bacbb4255c9408e3ce669563f2fb1d4067947c1a.tar.bz2 px4-nuttx-bacbb4255c9408e3ce669563f2fb1d4067947c1a.zip |
Add math library support for copysign. From Brennan Ashton
Diffstat (limited to 'apps/interpreters')
-rw-r--r-- | apps/interpreters/micropython/micropython_main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/interpreters/micropython/micropython_main.c b/apps/interpreters/micropython/micropython_main.c index d66402527..24bb12edf 100644 --- a/apps/interpreters/micropython/micropython_main.c +++ b/apps/interpreters/micropython/micropython_main.c @@ -149,16 +149,6 @@ float nanf(FAR const char *tagp) return 0; } -float copysignf(float x, float y) -{ - if (y < 0) - { - return -fabsf(x); - } - - return fabsf(x); -} - float truncf(float x) { union |