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
Back to post

Revisions 3

one year ago
Daniil Sedov
219 × 6 Administrator
Is there a square root function in FunC?
Is there a square root function in FunC?
There is no built-in `sqrt()` function, but you can use the one from `open-contracts` repository: - https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/math There is also a list of community libraries for FunC in documentation: - https://ton.org/docs/develop/smart-contracts/libraries#libraries-from-community
There is no built-in `sqrt()` function, ut you can use the one from `open-contracts` repository: - https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/math There is also a list of community libraries for FunC in documentation: - https://ton.org/docs/develop/smart-contracts/libraries#libraries-from-community
one year ago
Daniil Sedov
219 × 6 Administrator
Is there a square root function in FunC?
Is there a square root function in FunC?
There is no built-in `sqrt()` function, ut you can use the one from `open-contracts` repository: - https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/math There is also a list of community libraries for FunC in documentation: - https://ton.org/docs/develop/smart-contracts/libraries#libraries-from-community
There is no built-in `sqrt()` function. But you can use the one from `open-contracts` repository: - https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/math There is also a list of community libraries for FunC in documentation: - https://ton.org/docs/develop/smart-contracts/libraries#libraries-from-community
one year ago
Original
Daniil Sedov
219 × 6 Administrator
Is there a square root function in FunC?

There is no built-in `sqrt()` function. But you can use the one from `open-contracts` repository: - https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/math There is also a list of community libraries for FunC in documentation: - https://ton.org/docs/develop/smart-contracts/libraries#libraries-from-community