Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted Themistokleous committed Nov 1, 2023
1 parent 8f1c83d commit 4bb75c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ bool canEvalNodeArgument(const GraphViewer& graph,
return true;
}

float ConvertSinglePrecisionIEEE754ToFloat(unisgned long input) {
float ConvertSinglePrecisionIEEE754ToFloat(unsigned long input) {

Check warning on line 155 in onnxruntime/core/providers/migraphx/migraphx_execution_provider_utils.h

View workflow job for this annotation

GitHub Actions / Lint C++

[cpplint] reported by reviewdog 🐶 Use int16/int64/etc, rather than the C type long [runtime/int] [4] Raw Output: onnxruntime/core/providers/migraphx/migraphx_execution_provider_utils.h:155: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
int s = (input >> 31) & 0x01;
int e = ((input & 0x7f800000) >> 23) - 127;
int p = -1;
Expand Down

0 comments on commit 4bb75c1

Please sign in to comment.