Skip to content

size

relationalai.semantics.std.numbers
size(number: NumberConcept) -> int

Get the size (number of bits) needed to represent a number concept.

  • number

    (NumberConcept) - The NumberConcept to query.
  • int - The size in bits needed to represent the number.

Get the bit size of a number concept:

numbers.size(Product.price)