Operating System - OpenVMS
1753937 Members
9479 Online
108811 Solutions
New Discussion

The mysterious MTH$RANDOM

 
SOLVED
Go to solution
John Gillings
Honored Contributor

Re: The mysterious MTH$RANDOM

Dennis,

 

> It's a porting to Windows question?

 

   No it isn't.

 

  It's a query which happens to have arisen as a result of porting, but the question has nothing whatever to do with Windows. At issue is how a VAX specific instruction, SUBW, can be used against a VAX F_FLOAT data type in a register to yield the same result as a VAX DIVF instruction. Everything in the question and answer revolve around VAX architecture.

 

  Windows folk will look at it and go "Huh? What language are they speaking?". VMS folk who may want to understand the same code hack willbe unlikely to find it because it's misfiled. Whoever unilaterally decided to move the question didn't actually read it, or if they did, they didn't understand it.

A crucible of informative mistakes