If you intended to perform an arithmetic operation between these two large integers, here are the results for the most common operators: expr 937808300 + 932955077 Result: 1,870,763,377 Subtraction ( - ): expr 937808300 - 932955077 Result: 4,853,223 Multiplication ( \* ): expr 937808300 \* 932955077 Result: 874,933,014,737,739,100
Note: In most shells, the asterisk must be escaped with a backslash to prevent it from being interpreted as a wildcard. expr 937808300 / 932955077 Result: 1 expr 937808300 932955077
The expr utility requires an operator to perform a calculation. Without an operator (like + , - , * , or / ), the command will typically return an error or simply print the first number, depending on the specific shell environment. Potential Calculations If you intended to perform an arithmetic operation
expr treats each number and operator as a separate argument. You must include spaces (e.g., 9 + 5 , not 9+5 ). Potential Calculations expr treats each number and operator
print(937808300 + 932955077) print(937808300 - 932955077) print(937808300 * 932955077) print(937808300 / 932955077) Use code with caution. Copied to clipboard
Note: expr performs integer division, so it discards the remainder. Usage Tips
In modern scripting (like Bash), it is often more efficient to use Arithmetic Expansion —for example: $((937808300 + 932955077)) .