Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7673495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:31:28+00:00 2026-05-31T16:31:28+00:00

I have a project where we are trying to get the code space down.

  • 0

I have a project where we are trying to get the code space down. We have one spot in one file that calls the pow() function from the math library which adds an additional +12k of code to the final hex for this one line of code. I have done some searching and I can’t seem to find a good way of doing the pow function outside of the math library. Every example I have found is using the math library. The worst is I need floating point because I need to raise some unknown variable that is constantly changing to a power of 1.4 and the controller I have I was told doesn’t actually have floating point. Some 72Mhz 32bit ARM device that has no floating point I am told, hence the huge space for the one library function. Has anyone else tried to do this and won the battle?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:31:30+00:00Added an answer on May 31, 2026 at 4:31 pm

    You can use this rule on fractional exponents to break it into an integer root and integer power function applied one after the other.

    Since the exponent is fixed, this could make your code much simpler, since 1.4 = 7/5. Now you just need to write a single function that performs these exact two steps at once on your integer input and you can avoid the losses of floating point calculations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get SBT to build a project that could have more than
I have a new project that I am trying to get up and running
I have an ASP.MVC 3 project that I am trying to get building on
I have a project that has alot of file manipulation. I am trying out
I have some rough code for my project, and I am trying to get
I get this error when trying to link a win32 exe project. I have
I have a project that I am trying to convert to OSGi. However, this
I have a Website project that I'm trying to debug using Fiddler. Fiddler doesn't
I have a Java project that I'm trying to implement with a model-view-controller design.
For a project, I'm trying to send UDP packets from Linux kernel-space. I'm currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.