Traditionally by megabyte we mean your second option — 1 megabyte = 220 bytes. But it is not correct actually because mega means 1 000 000. There is a new standard name for 220 bytes, it is mebibyte (http://en.wikipedia.org/wiki/Mebibyte) and it gathers popularity.
Related Posts:
- Converting 3D polar coordinates to cartesian coordinates
- What is the C++ function to raise a number to a power?
- Unfamiliar symbol in algorithm: what does ∀ mean? [closed]
- How can I use “e” (Euler’s number) and power operation in python 2.7
- Python division
- Integer division in Java [duplicate]
- What does the ^ (XOR) operator do? [duplicate]
- Safest way to convert float to integer in python?
- How can I use “e” (Euler’s number) and power operation in python 2.7
- Calculating a 2D Vector’s Cross Product
- Java Round up Any Number
- JavaScript exponents
- What does != do/mean in python
- How to perform an integer division, and separately get the remainder, in JavaScript?
- How to perform an integer division, and separately get the remainder, in JavaScript?
- Clamping floating numbers in Python?
- How to round a number to significant figures in Python
- Lua replacement for the % operator
- How do you find the rightmost digit of an integer?
- What is the fastest factorial function in JavaScript?
- How to perform bilinear interpolation in Python
- What is the most efficient way to calculate the least common multiple of two integers?
- What is the most efficient way to calculate the least common multiple of two integers?
- How can I convert a number from base 8 to base 10?
- Inverse of Tan in python (tan-1)
- Inverse Cosine in Python
- What is the maximum number of edges in a directed graph with n nodes?
- How to save decimal in java
- Probability of hash collision
- Round *UP* to the nearest 100 in SQL Server
- Rotating a Vector in 3D Space
- What’s the difference between a word and byte?
- Mathematica matrix diagonalization
- In a triangulated isometric grid, what triangle is a given point in?
- Why prefer two’s complement over sign-and-magnitude for signed numbers?
- What is dependency injection?
- 1000 * 60 * 60 * 24 * 30 results in a negative number [duplicate]
- When is K 1024 and when is it 1000?
- What is a race condition?
- What is a loop invariant?
- What is a loop invariant?
- What is reflection and why is it useful?
- Python Math – TypeError: ‘NoneType’ object is not subscriptable
- What is ADT? (Abstract Data Type)
- numpy max vs amax vs maximum
- What is boilerplate code?
- What exactly is the difference between “pass by reference” in C and in C++?
- What do < and > stand for?
- What is JSONP, and why was it created?
- How do I determine the size of my array in C?
- What do these operators mean (** , ^ , %, //)? [closed]
- What does pss mean in /proc/pid/smaps
- What do these operators mean (** , ^ , %, //)? [closed]
- “Parameter” vs “Argument”
- What is the behavior of integer division?
- What does it mean if a Python object is “subscriptable” or not?
- syntaxerror: “unexpected character after line continuation character in python” math
- What’s the difference between a method and a function?
- What is Bit Masking?
- What does it mean if a Python object is “subscriptable” or not?
- What is the difference between tree depth and height?
- syntaxerror: “unexpected character after line continuation character in python” math
- TypeError: ‘float’ object is not callable
- Docker error : no space left on device
- Stack Memory vs Heap Memory
- Error: “expression must have integral or unscoped enum type” [duplicate]
- What is null in Java?
- 1e-9 or -1e9, which one is correct?
- Error: all the input array dimensions except for the concatenation axis must match exactly
- syntaxerror: “unexpected character after line continuation character in python” math
- How can I explicitly free memory in Python?
- How to clear variables in ipython?
- Why em instead of px?
- How to solve munmap_chunk(): invalid pointer error in C++
- How do order of operations go on Python?
- How to clear variables in ipython?
- How does the “view” method work in PyTorch?
- How Does Modulus Divison Work
- How to round up to the next integer?
- What is the difference between a framework and a library?
- What is a clock cycle and clock speed?
- What does numpy.gradient do?
- Python: OverflowError: math range error
- How can I use numpy.correlate to do autocorrelation?
- How can I convert radians to degrees with Python?
- Difference between ‘cls’ and ‘self’ in Python classes?
- Infinite integer in Python
- What is the function of the push / pop instructions used on registers in x86 assembly?
- Python subprocess.Popen “OSError: [Errno 12] Cannot allocate memory”
- What is the difference between application server and web server?
- What does ** do in C language?
- What is “runtime”?
- Are there dictionaries in php?
- Overflow / math range error for log or exp
- How do I find the distance between two points?
- Using Dynamic Memory allocation for arrays
- How can I check for NaN values?
- Python – how to use the constant e^
- What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs?
- What is the difference between memoization and dynamic programming?