Modulus math
(Created page with "In c# you do 5%3 to get the rest of the division 5/3 In ocl you can do (x.SomeInt).IEEERemainder( 2 )")
 
No edit summary
Line 1: Line 1:
In c# you do 5%3 to get the rest of the division 5/3
In c# you do 5%3 to get the rest of the division 5/3


In ocl you can do (x.SomeInt).IEEERemainder( 2 )
In ocl you can do 5.IEEERemainder( 3 )
 
See [https://docs.microsoft.com/en-us/dotnet/api/system.math.ieeeremainder IEEERemainder documentation in .net]

Revision as of 09:07, 4 December 2021

In c# you do 5%3 to get the rest of the division 5/3

In ocl you can do 5.IEEERemainder( 3 )

See IEEERemainder documentation in .net

This page was edited 97 days ago on 02/10/2024. What links here