Function Entry: VLE-INT64TO32
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLE-INT64TO32
Name
vle-int64to32
Class
BricsCAD VLE Library Function
Syntax
(vle-int64to32 intVal)
Arguments and Values
- intVal any integer value
Description
truncates a given integer value to be in 32 bit range if input value is above 32 bit range (a 64 bit value) then this is truncated to a 32 bit value, to match the behaviour of other CAD systems using 32 bit integers even in x64 builds
Return Values
always returns a 32 bit integer value
Examples
(vle-int64to32 (* 10 268435456)) returns -1610612736 instead of 2684354560
Notes
this is effective only with Bricscad x64, otherwise it does nothing;
as BricsCAD x64 allows 64 bit integers, there is a minor conflict in compatibility with other CAD systems here;
if a Lisp application needs that incorrect behaviour of other CAD systems, then this function can help as workaround
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [vle-int64to32 (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vleint64to32.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).