diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 13:08:06 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 13:08:06 +0100 |
commit | 1afac98ca90505a41b23ec8dc8053d3bbcbf04dc (patch) | |
tree | b18a70edfefbaeb37689afabe76044594fe7546f /lc | |
parent | 5bf9de517976480e2bcbf1ca7772cd8a1a53b796 (diff) |
name primitive functions
Diffstat (limited to 'lc')
-rw-r--r-- | lc/Prelude.lc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lc/Prelude.lc b/lc/Prelude.lc index 25e2331a..ecb9852f 100644 --- a/lc/Prelude.lc +++ b/lc/Prelude.lc | |||
@@ -245,6 +245,23 @@ det = PrimDeterminant | |||
245 | inv = PrimInverse | 245 | inv = PrimInverse |
246 | outer = PrimOuterProduct | 246 | outer = PrimOuterProduct |
247 | 247 | ||
248 | bAnd = PrimBAnd | ||
249 | bOr = PrimBOr | ||
250 | bXor = PrimBXor | ||
251 | bNot = PrimBNot | ||
252 | bAndS = PrimBAndS | ||
253 | bOrS = PrimBOrS | ||
254 | bXorS = PrimBXorS | ||
255 | shiftL = PrimBShiftL | ||
256 | shiftR = PrimBShiftR | ||
257 | shiftLS = PrimBShiftLS | ||
258 | shiftRS = PrimBShiftRS | ||
259 | |||
260 | floatBitsToInt = PrimFloatBitsToInt | ||
261 | floatBitsToWord = PrimFloatBitsToUInt | ||
262 | intBitsToFloat = PrimIntBitsToFloat | ||
263 | wordBitsToFloat = PrimUIntBitsToFloat | ||
264 | |||
248 | -- operators | 265 | -- operators |
249 | infixl 7 *, /, % | 266 | infixl 7 *, /, % |
250 | infixl 6 +, - | 267 | infixl 6 +, - |