check for dev1650 and some minor polish

This commit is contained in:
Chris Boesch 2023-02-19 17:52:16 +01:00
parent 255e646b94
commit 7d129460cf
6 changed files with 12 additions and 9 deletions

View file

@ -29,5 +29,6 @@ pub fn main() !void {
// Here we call the C function 'fmod' to get our normalized angel.
const result = c.fmod(angel, circle);
// We use formatters for the desired precision and to truncate the decimal places
std.debug.print("The normalized angle of {d: >3.1} degrees is {d: >3.1} degrees.\n", .{ angel, result });
}