.DESLib.RandomLib.CMRG.Src.MultModM

Information

Compute (a*s + c) % m. m must be < 2^35.  Works also for s, c < 0

Interface

function MultModM
  input Real a;
  input Real s;
  input Real c;
  input Real m;
  output Real v;
end MultModM;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos