Skip to main content
Glama

CJ-MCP

by PoivronMax
wrapping.md422 B
# 高位截断策略的示例 下面是高位截断策略的示例,示例中尝试运算 UInt8.Max + 1,UInt8.Max 二进制表示为 0b11111111,UInt8.Max + 1 为 0b100000000,由于 UInt8 只能储存 8 位,高位截断后结果为 0。 <!-- verify --> ```cangjie import std.overflow.* import std.math.* main() { let a: UInt8 = UInt8.Max println(a.wrappingAdd(1)) } ``` 运行结果: ```text 0 ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PoivronMax/idlize-cj-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server