Skip to content

Conversation

@ShriramShastry
Copy link
Contributor

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

@ShriramShastry ShriramShastry force-pushed the shastry_sqrt_dev branch 3 times, most recently from 4054b3e to 2b3433e Compare November 30, 2021 12:22
Copy link
Collaborator

@singalsu singalsu left a 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!

Copy link
Member

@lgirdwood lgirdwood left a 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.

@ShriramShastry ShriramShastry force-pushed the shastry_sqrt_dev branch 2 times, most recently from dbf0b81 to 9814180 Compare December 1, 2021 11:50
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 1, 2021

More C99 comments... can we finally turn off this warning?

EDIT: submitted in #5046

@ShriramShastry ShriramShastry force-pushed the shastry_sqrt_dev branch 3 times, most recently from 68db25d to ca8fc26 Compare December 2, 2021 11:15
@ShriramShastry ShriramShastry force-pushed the shastry_sqrt_dev branch 3 times, most recently from fe4fcb6 to a3f41ce Compare December 15, 2021 17:23
Copy link
Collaborator

@marc-hb marc-hb left a 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

@lgirdwood
Copy link
Member

@cujomalainey are you happy to for this to merge ?

Copy link
Contributor

@cujomalainey cujomalainey left a 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

Copy link
Contributor

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

Copy link
Contributor Author

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>
@cujomalainey
Copy link
Contributor

Once CI returns I think we can merge

@singalsu
Copy link
Collaborator

@cujomalainey @lgirdwood CI issues look unrelated.

@singalsu
Copy link
Collaborator

Three approvals, would be nice to get this merged because my PR #4826 can't pass CI without this.

@lgirdwood lgirdwood merged commit 29fa4e1 into thesofproject:main Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants