Repository navigation
0.38.0
Agentica 0.38.0 adds the sized number types: UInt64, Float32 and the narrow integers Int8 to UInt32.
Highlights
UInt64andFloat32, with arithmetic, conversions, JSON and sorting.Int8,Int16,Int32,UInt8,UInt16andUInt32: operators, bit and wrapping methods, range-checked conversions.Task.spawn_link,o&.namesafe navigation,agentica COMMAND --help, and BDDbefore_allandafter_allhooks.- Packages: a
versionrequirement picks the highest matching git tag. - The JIT compiles loops of
UInt64arithmetic.
Breaking changes
Int8toFloat64(includingInt64,UInt64andFloat32) are reserved type names.std/binaryuses the sized types, and its writers returnByteswith noResult.Float.to_bitsreturnsUInt64,Float.from_bitstakes one;Float.to_bits32andFloat.from_bits32are removed (useFloat32).- A float literal that rounds to infinity is
CHECK-FLOAT-RANGE.
Full list: https://github.com/agentica-lang/agentica/blob/0.38.0/CHANGELOG.md