mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 00:50:00 +00:00
check for dev1650 and some minor polish
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user