Difference between revisions of "Osiris/API/IntegerDivide"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * query '''IntegerDivide'''('''''[in]'''(INTEGER)'''''_A''',''''' [in]'''(INTEGER)'''''_B''',''''' [out]'''''(''INTEGER'')'''_Quotient''') =====...")
 
m
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
* '''_Quotient''': The result of dividing '''_A''' by '''_B'''.
 
* '''_Quotient''': The result of dividing '''_A''' by '''_B'''.
 
===== Notes =====
 
===== Notes =====
-
+
* Warning: attempts to divide by 0 causes undefined behaviour and is not caught.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/IntegerSubtract]]
 
* [[Osiris/API/IntegerSubtract]]
 
* [[Osiris/API/IntegerSum]]
 
* [[Osiris/API/IntegerSum]]
 
* [[Osiris/API/IntegerProduct]]
 
* [[Osiris/API/IntegerProduct]]
 +
* [[Osiris/API/IntegerModulo]]
 +
* [[Osiris/API/RealDivide]]
 
    
 
    
[[Category:Osiris Queries]]
+
[[Category:Osiris Queries|IntegerDivide]]

Latest revision as of 15:35, 19 December 2017

Full Definition(s)
  • query IntegerDivide([in](INTEGER)_A, [in](INTEGER)_B, [out](INTEGER)_Quotient)
Description

Returns the _Quotient of division of _A by _B.

Return Values
  • Success/Failure: Never fails.
  • _Quotient: The result of dividing _A by _B.
Notes
  • Warning: attempts to divide by 0 causes undefined behaviour and is not caught.
See Also