Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Diff of /trunk/sml3d/src/particles/runtime/psys-rt-cpu.sml
ViewVC logotype

Diff of /trunk/sml3d/src/particles/runtime/psys-rt-cpu.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1159, Sat May 21 22:08:20 2011 UTC revision 1160, Sun May 22 21:55:20 2011 UTC
# Line 259  Line 259 
259              | (IR.SQRT, [PSV.FLOAT flt]) => PSV.FLOAT(M.sqrt(flt))              | (IR.SQRT, [PSV.FLOAT flt]) => PSV.FLOAT(M.sqrt(flt))
260              | (IR.COS, [PSV.INT i]) => PSV.FLOAT(M.cos(Real32.fromInt(i)))              | (IR.COS, [PSV.INT i]) => PSV.FLOAT(M.cos(Real32.fromInt(i)))
261              | (IR.COS, [PSV.FLOAT flt]) => PSV.FLOAT(M.cos(flt))              | (IR.COS, [PSV.FLOAT flt]) => PSV.FLOAT(M.cos(flt))
262                | (IR.ACOS, [PSV.INT i]) => PSV.FLOAT(M.acos(Real32.fromInt(i)))
263                | (IR.ACOS, [PSV.FLOAT flt]) => PSV.FLOAT(M.acos(flt))
264              | (IR.SIN, [PSV.INT i]) => PSV.FLOAT(M.sin(Real32.fromInt(i)))              | (IR.SIN, [PSV.INT i]) => PSV.FLOAT(M.sin(Real32.fromInt(i)))
265              | (IR.SIN, [PSV.FLOAT flt]) => PSV.FLOAT(M.sin(flt))              | (IR.SIN, [PSV.FLOAT flt]) => PSV.FLOAT(M.sin(flt))
266              | (IR.ABS, [PSV.INT i]) => PSV.INT(if i > 0 then i else ~i)              | (IR.ABS, [PSV.INT i]) => PSV.INT(if i > 0 then i else ~i)

Legend:
Removed from v.1159  
changed lines
  Added in v.1160

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0