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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:21:55+00:00 2026-06-14T17:21:55+00:00

Let vector v close to zero like {7.000e-07, 5.000e-06, 4.000e-07} . Is it good

  • 0

Let vector v close to zero like {7.000e-07, 5.000e-06, 4.000e-07}. Is it good idea to multiply by, say, 1024, before normalization? Seems like such close values work good on PC where double is 80 bit internally and bad on ARM FPU.

  • 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-06-14T17:21:55+00:00Added an answer on June 14, 2026 at 5:21 pm

    As long as none of the intermediate results in the computation you want to do underflow (that is, as long as they do not get close to 1E-308 in double, 1E-38 in float), it brings nothing to multiply by 1024.

    It would not lose anything to multiply by 1024 (except if it causes overflow), but other factors (say, 1000) would cause a loss of precision, too.

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

Sidebar

Related Questions

I have a 3-vector, let's say v = vec3(-4, 2, 3) I would like
Let's say I have a loop like this: vector<shared_ptr<someStruct>> vec; int i = 0;
Let say I have a basic 2D vector class something like class vector2 {
I have two containers, let's say they're defined like this: std::vector<std::unique_ptr<int>> a; std::vector<std::unique_ptr<int>> b;
I have a large nested vector that look like this: import Data.Vector let x
Let's say that I create a vector/array in Scheme: (let* ((x #(1 2 3)))
Let's assume that we have a vector like x = -1:0.05:1; ids = randperm(length(x));
Let's say i have 2 classes: class Class1 { public: std::vector<CustomClass3*> mVec; public: Class1();
Let's just say i have a Vector of Strings, and I want to output
Let's say I have this vector v <- c(1:100) And I want to get

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.