Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate range extent scaling #50

Open
nfrechette opened this Issue Dec 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@nfrechette
Copy link
Owner

nfrechette commented Dec 6, 2017

The segment range extent is always bounded by [min value ... (1.0 - min value)]

If my min value is say 0.6, my extent can be at most 0.4.
Instead of doing: mul_add(value, extent, min)
Try: mul_add(value, (1.0 - min) * extent_scaled, min)

The smaller the range extent, the more precise our bits become.

The same also holds for the range extent for rotation tracks since the boundaries are known: [-1.0 .. 1.0]

@nfrechette nfrechette added this to the v1.0 milestone Dec 6, 2017

@nfrechette nfrechette changed the title Investigate segment range extent scaling Investigate range extent scaling Dec 6, 2017

@nfrechette nfrechette modified the milestones: v1.0, Backlog Jan 5, 2018

@nfrechette nfrechette removed the enhancement label Jan 22, 2018

@nfrechette nfrechette modified the milestones: Backlog, v2.0 Aug 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.