-
Notifications
You must be signed in to change notification settings - Fork 349
math : Add square root function using a lookup table #5034
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
Conversation
fc0748a to
59bfe17
Compare
4054b3e to
2b3433e
Compare
2b3433e to
89885a1
Compare
89885a1 to
09b21a9
Compare
singalsu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have one not needed type cast (double)y in cmocka function. Otherwise OK so approve. Thanks!
54e2e4f to
42ada44
Compare
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor correction needed.
42ada44 to
7c5fd40
Compare
dbf0b81 to
9814180
Compare
|
More C99 comments... can we finally turn off this warning? EDIT: submitted in #5046 |
68db25d to
ca8fc26
Compare
ca8fc26 to
613fcdb
Compare
fe4fcb6 to
a3f41ce
Compare
marc-hb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor style issues
a3f41ce to
879b571
Compare
|
@cujomalainey are you happy to for this to merge ? |
cujomalainey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one minor comment complaint but otherwise LGTM
src/math/sqrt_int16.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this comment seems out of place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remove it.
fix point math square function having positive number y as input and return the positive number x multiplied by itself (squared) Signed-off-by: Shriram Shastry <malladi.sastry@intel.com>
879b571 to
1212e15
Compare
|
Once CI returns I think we can merge |
|
@cujomalainey @lgirdwood CI issues look unrelated. |
|
Three approvals, would be nice to get this merged because my PR #4826 can't pass CI without this. |
fix point math square function having positive number y as input and
return the positive number x multiplied by itself (squared)
Signed-off-by: MalladiSastry shastry@mherber2-ub20.ostc.intel.com