# SymInt

Source: https://www.tensorplay.cn/docs/generated/tensorplay.SymInt.html

```python
class tensorplay.SymInt
```

```python
as_integer_ratio(self: tensorplay._C.SymInt) &#x2192; tuple[tensorplay._C.SymInt, int]
```

```python
bit_length(self: tensorplay._C.SymInt) &#x2192; int
```

```python
ceil(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
clone(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
conjugate(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
expect_int(self: tensorplay._C.SymInt) &#x2192; int
```

```python
floor(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
guard_int(self: tensorplay._C.SymInt, file: str = '', line: SupportsInt | SupportsIndex = 0) &#x2192; int
```

```python
has_hint(self: tensorplay._C.SymInt) &#x2192; bool
```

```python
is_heap_allocated(self: tensorplay._C.SymInt) &#x2192; bool
```

```python
is_same(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; bool
```

```python
is_symbolic(self: tensorplay._C.SymInt) &#x2192; bool
```

```python
max(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
maybe_as_int(self: tensorplay._C.SymInt) &#x2192; int | None
```

```python
min(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
pow_by_natural(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
round(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```

```python
sym_eq(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
sym_float(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymFloat
```

```python
sym_ge(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
sym_gt(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
sym_le(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
sym_lt(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
sym_ne(self: tensorplay._C.SymInt, arg0: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymBool
```

```python
static symbolic(name: str, hint: SupportsInt | SupportsIndex | None = None) &#x2192; tensorplay._C.SymInt
```

```python
to_sym_float(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymFloat
```

```python
trunc(self: tensorplay._C.SymInt) &#x2192; tensorplay._C.SymInt
```
