Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How to "concatenate" two numbers in FunC?

If there are two numbers, like 1100 and 0011, what is the easiest way to "concatenate" them (not adding, but merging into a single number containing all the digits), so the result would be 11000011?


This question was imported from Telegram Chat: https://t.me/tondev/137538

  
  
Posted one year ago
Votes Newest

Answers


int concat(int x, int y, int y_len) {
	return (x << y_len) ^ y;
}
1
1
Posted one year ago
12K Views
1 Answer
one year ago
one year ago
Tags