RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.96k stars 1.99k forks source link

[tracking] unnecessary use of floating point arithmetic #19614

Open maribu opened 1 year ago

maribu commented 1 year ago

Description

There have been a number of issues (https://github.com/RIOT-OS/RIOT/issues/17486 and https://github.com/RIOT-OS/RIOT/issues/12045 are still open) on use of floating point arithmetic. This tries to bundle the effort in a single place

List of offenders: use float and or double

without the double / float keyword using \d.\d

kfessel commented 1 year ago

rg -e '\d\.\d' |rg -iv license | rg -ive ':\s*/?\*'