Alternative POW-Funktion

  • 1
  • 2
  • Page 2 of 2
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: Alternative POW-Funktion

 · 
Posted: 06.07.2016 - 14:12  ·  #9
Have you tried 2 Fix64 demos? If they work then you can use FloatToFix64 and Fix64ToFloat functions. Your servo code seams to expect floats so you need to deliver floats to it. Conversion functions will help.

Anyway, if you do not want to complicate and your x > 0, then you can calculate power like this: x^y = exp(y*ln(x))
  • 1
  • 2
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   32   46 · Page-Gen-Time: 0.037452s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI