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 6788463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:29:20+00:00 2026-05-26T17:29:20+00:00

From the AR Drone Developer’s guide: The number −0.8 is stored in memory as

  • 0

From the AR Drone Developer’s guide:

The number −0.8 is stored in memory as a 32-
bit word whose value is BF 4CCCCD (16) , according to the IEEE-754 format. This 32-bit word
can be considered as holding the 32-bit integer value −1085485875 (10).

Is there an “easy way” (built-in functions/existing modules) to do this in python ?

  • 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-26T17:29:20+00:00Added an answer on May 26, 2026 at 5:29 pm

    maybe not the best method, but it works.

    import struct
    s = struct.pack("f", -0.8)
    i = struct.unpack("i", s)
    print i
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Overview I'm working on an iPhone game whose code I inherited from another developer.
I am hearing from another developer that an object is too expensive to instantiate
I've noticed that in SQL Developer if you are selecting from a table that
I have this Birt report that I inherited from another developer, consisting of a
I followed Google's Map View tutorial from this link http://developer.android.com/resources/tutorials/views/hello-mapview.html I've done the first
A developer from our office accidentally deleted the repository from the VisualSVN Server. Every
I'm porting some code from PHP to .NET (I'm not a PHP developer) and
I have downloaded the sample code GLPaint from developer.Apple website to draw pictures on
i'm supposed to come up with a dialog with another developer's script (from another
I'm learning Android (ironically from a cross of the developer site from Google and

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.