check for dev1650 and some minor polish
This commit is contained in:
parent
255e646b94
commit
7d129460cf
6 changed files with 12 additions and 9 deletions
|
|
@ -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 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue