size
relationalai.semantics.std.numbers
size(number: NumberConcept) -> intGet the size (number of bits) needed to represent a number concept.
Parameters
Section titled “Parameters”
(numberNumberConcept) - The NumberConcept to query.
Returns
Section titled “Returns”int- The size in bits needed to represent the number.
Examples
Section titled “Examples”Get the bit size of a number concept:
>>> numbers.size(Product.price)