Displaying 3 results from an estimated 3 matches for "iround".
Did you mean:
around
2013 May 11
0
[LLVMdev] gcc 4.8.x dragonegg support
...gt; benchmarks for aermod and rnflow. The first fails to compile with the errror...
>
> % /sw/lib/gcc4.8/bin/gfortran -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs -O1 aermod.f90 -o aermod
> Undefined symbols for architecture x86_64:
> "_iround", referenced from:
I looked into this briefly. I think iround is some kind of gcc
intrinsic (like the lround function in C, except it returns an int).
I don't have access to that benchmark suite nor do I know Fortran
very well. Can you try to construct a small reproducing test case
give...
2013 May 09
4
[LLVMdev] gcc 4.8.x dragonegg support
...in the Polyhedron 2005
benchmarks for aermod and rnflow. The first fails to compile with the errror...
% /sw/lib/gcc4.8/bin/gfortran -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs -O1 aermod.f90 -o aermod
Undefined symbols for architecture x86_64:
"_iround", referenced from:
_stodbl_ in ccZmJVlP.o
_evper_ in ccZmJVlP.o
"_iroundf", referenced from:
_aver_ in ccZmJVlP.o
_vdp_ in ccZmJVlP.o
_stonum_ in ccZmJVlP.o
_terrst_ in ccZmJVlP.o
_hrqext_ in ccZmJVlP.o
_averev_ in ccZmJVlP.o
_w...
2011 Dec 01
3
round to specific intervals
Dear R users/helpers,
I am wondering is there an existing function in which you can round
numbers to a set of values. I know you can use 5 * round(x/5) for
rounding to the nearest 5 or so, but what if the interval size is not
constant.
For example:
## Not run
test <- rnorm(100)
round(test, c(1, 5, 10, 20, 50))
so that the test is rounded to the closest value in the vector.
Thanks for the