pcclark4 / cggml

A general algorithms library written in ANSI C.
1 stars 0 forks source link

Implement radix sort for float32_t and float64_t #8

Open pcclark4 opened 4 years ago

pcclark4 commented 4 years ago

Complexity is added since numbers can be either positive or negative. Have to do some preprocessing then merge them back together at the end.

Radix sort for floating points is possible as long as the underlying system implements the IEEE 754 floating point standard, which most do these days.