We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a2d89 commit 7b0cec7Copy full SHA for 7b0cec7
vortex-dtype/src/decimal/types.rs
@@ -61,8 +61,11 @@ pub trait NativeDecimalType:
61
const MAX_SCALE: i8;
62
63
/// The minimum value for each precision supported by this decimal type.
64
+ /// This is an array of length `MAX_PRECISION + 1` where the `i`th element is the minimum value
65
+ /// for a precision of `i` (including precision 0).
66
const MIN_BY_PRECISION: &'static [Self];
67
/// The maximum value for each precision supported by this decimal type.
68
+ /// similar to `MIN_BY_PRECISION`.
69
const MAX_BY_PRECISION: &'static [Self];
70
71
/// Downcast the provided object to a type-specific instance.
0 commit comments