From 49b56bda9103d59a38873caf0a625491d2139a6e Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 22 Apr 2026 01:20:09 +0200 Subject: [PATCH] Added int nanometer example in README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b24f4c6..1d5dc7f 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ A `Scalar` type is parameterized by three things: the numeric type (`f64`, `i128 ```zig const Meter = Scalar(f64, .init(.{ .L = 1 }), .init(.{})); +const NanoMeter = Scalar(i64, .init(.{ .L = 1 }), .init(.{ .L = .n })); const KiloMeter = Scalar(f64, .init(.{ .L = 1 }), .init(.{ .L = .k })); const Second = Scalar(f64, .init(.{ .T = 1 }), .init(.{})); const Velocity = Scalar(f64, .init(.{ .L = 1, .T = -1 }), .init(.{}));