mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-29 02:30:12 +00:00
bitwise-shift operators
This commit is contained in:
parent
ad493e9218
commit
b15e3c764d
2 changed files with 6 additions and 4 deletions
|
|
@ -141,9 +141,9 @@ output separator to the given value.
|
|||
abs acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp
|
||||
expm1 floor invqnorm log log10 log1p logifit madd msub mmul mexp max min pow
|
||||
qnorm round roundm sgn sin sinh sqrt tan tanh urand urandint + + - - * / // %
|
||||
** | ^ & ~ =~ !=~ == != > >= < <= && || ^^ ! strlen sub gsub tolower toupper .
|
||||
boolean float int string hexfmt fmtnum systime sec2gmt gmt2sec sec2hms
|
||||
sec2dhms hms2sec dhms2sec fsec2hms fsec2dhms hms2fsec dhms2fsec
|
||||
** | ^ & ~ << >> =~ !=~ == != > >= < <= && || ^^ ! strlen sub gsub tolower
|
||||
toupper . boolean float int string hexfmt fmtnum systime sec2gmt gmt2sec
|
||||
sec2hms sec2dhms hms2sec dhms2sec fsec2hms fsec2dhms hms2fsec dhms2fsec
|
||||
Please use "mlr --help-function {function name}" for function-specific help.
|
||||
Please use "mlr --help-all-functions" or "mlr -f" for help on all functions.
|
||||
.fi
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ Functions for the filter and put verbs:
|
|||
abs acos acosh asin asinh atan atan2 atanh cbrt ceil cos cosh erf erfc exp
|
||||
expm1 floor invqnorm log log10 log1p logifit madd msub mmul mexp max min pow
|
||||
qnorm round roundm sgn sin sinh sqrt tan tanh urand urandint + + - - * / //
|
||||
% ** | ^ & ~ =~ !=~ == != > >= < <= && || ^^ ! strlen sub gsub tolower
|
||||
% ** | ^ & ~ << >> =~ !=~ == != > >= < <= && || ^^ ! strlen sub gsub tolower
|
||||
toupper . boolean float int string hexfmt fmtnum systime sec2gmt gmt2sec
|
||||
sec2hms sec2dhms hms2sec dhms2sec fsec2hms fsec2dhms hms2fsec dhms2fsec
|
||||
Please use "mlr --help-function {function name}" for function-specific help.
|
||||
|
|
@ -2867,6 +2867,8 @@ urandint (math: #args=2): Integer uniformly distributed between inclusiv
|
|||
^ (math: #args=2): Bitwise XOR.
|
||||
& (math: #args=2): Bitwise AND.
|
||||
~ (math: #args=1): Bitwise NOT.
|
||||
<< (math: #args=2): Bitwise left-shift.
|
||||
>> (math: #args=2): Bitwise right-shift.
|
||||
=~ (boolean: #args=2): String (left-hand side) matches regex (right-hand side), e.g. '$name =~ "^a.*b$"'.
|
||||
!=~ (boolean: #args=2): String (left-hand side) does not match regex (right-hand side), e.g. '$name !=~ "^a.*b$"'.
|
||||
== (boolean: #args=2): String/numeric equality. Mixing number and string results in string compare.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue