ee.Number.bitwiseNot

ইনপুটটি ধারণ করতে পারে এমন ক্ষুদ্রতম স্বাক্ষরিত পূর্ণসংখ্যার মধ্যে, ইনপুটের বিটওয়াইজ নয় গণনা করে৷

ব্যবহার রিটার্নস
Number. bitwiseNot () সংখ্যা
যুক্তি টাইপ বিস্তারিত
এই: input সংখ্যা ইনপুট মান।

উদাহরণ

কোড এডিটর (জাভাস্ক্রিপ্ট)

/**
 * Unsigned 8-bit type example.
 *
 * 25 as binary:    00011001
 * Flip each digit: 11100110
 *
 * 11100110 is signed 8-bit binary for -26.
 * (binary interpreted using smallest signed integer type containing the input).
 */

print(ee.Number(25).bitwiseNot());

পাইথন সেটআপ

পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য geemap ব্যবহার করার জন্য পাইথন এনভায়রনমেন্ট পৃষ্ঠাটি দেখুন।

import ee
import geemap.core as geemap

Colab (পাইথন)

"""Unsigned 8-bit type example.

25 as binary:    00011001
Flip each digit: 11100110

11100110 is signed 8-bit binary for -26.
(binary interpreted using smallest signed integer type containing the input).
"""

print(ee.Number(25).bitwiseNot().getInfo())