[vector] Removal of some operations

Paul Sandoz paul.sandoz at oracle.com
Fri Feb 2 01:18:27 UTC 2018


In an effort to shrink down the API to a smaller set of operations and thus make it easier scope out a first viable implementation we can remove the following lesser known operations:


bitwise vectors
—
addExact
decrementExact
floorDiv
floorMod
incrementExtract
multiplyExact
negateExact
substractExtract
toIntExact

fp vectors
—
ceil
copySign
floor
getExponent
IEEEremainder
nextAfter
nextDown
nextUp
rint
round
scalb
signum
toDegrees
toRadians
ulp


I am on the fence for the following:

random
min
max

for now i propose to keep ‘em. And also expand such that random is implemented by all vector types. Even if it's not fully optimized i suspect it’s quite a useful helper method.

Paul.



More information about the panama-dev mailing list