check for dev1650 and some minor polish

This commit is contained in:
Chris Boesch
2023-02-19 17:52:16 +01:00
parent b2de68869e
commit 1d10a062e2
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 });
}