Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 2:fd2ba0d14fdb, committed 2017-04-02
- Comitter:
- JosephMarinier
- Date:
- Sun Apr 02 16:48:58 2017 +0000
- Parent:
- 1:80aff65f39db
- Child:
- 3:a16fcc9820ec
- Commit message:
- f
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Apr 02 01:30:25 2017 +0000 +++ b/main.cpp Sun Apr 02 16:48:58 2017 +0000 @@ -5,17 +5,17 @@ float const N = 6; // Nombre de coefficient float const a[6] = { // Coefficients - 48.0, - 39.747873330026010307847172953188, - -193.17329895624212099392025265843, - 446.63538359883938255734392441809, - -466.0247897041737132894922979176, - 179.60194249453365955560002475977 + 48.0f, + 39.74726682561068002996762515977f, + -193.16740381997198028329876251519f, + 446.61493856547616587704396806657f, + -465.99634645932144394464557990432f, + 179.58824037190848343925608787686f }; int main() { while(true) { - float x = 1; + float x = 1.0f; float v = input; float h = a[0];