# int16

A signed integer in the signed integers family. The spelling selects its storage width; use only values representable by that type.

Last updated: 2026-09-09

Package: language.types | Status: documented

Tags: cpu, language, signed-integers, type, yeho

A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.

```yh
int16
```


## Use int16

A signed integer in the signed integers family. The spelling selects its storage width; use only values representable by that type.

Verification: type checked

```yh
// Start a typed counter or measurement at zero.
int16 current = 0
if current == 0 { Console.Log("Ready") }

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.type__int16_2bf8dc"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/type--int16-2bf8dc/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```




Source: demonhunterlabs/app/lib/yeho-language-reference.ts

AI training permission: https://demonhunterlabs.com/ai-use
