coerce a number to a short

Mark Evenson evenson at panix.com
Wed Dec 4 20:37:00 UTC 2019



> On Nov 27, 2019, at 05:53, somewhat-functional-programmer <somewhat-functional-programmer at protonmail.com> wrote:
> 
> Here's a workaround in the meantime (though it's more verbose)... using java.lang.Short.reverseBytes(short s) as the test case[1]:
> 
> ;; no such method failure
> (jstatic "reverseBytes" "java.lang.Short" #x7f)


[Tests via ABCL-PROVE added.][ABCL-PROVE]

[ABCL-PROVE]: https://github.com/armedbear/abcl/pull/131

-- 
"A screaming comes across the sky.  It has happened before but there is nothing 
to compare to it now."








More information about the armedbear-devel mailing list