The use of the world Euler in the llEuler2Rot() and llRot2Euler() script functions is a misnomer.
Aside from being completely misleading, this is harmless. The functions work fine, they just are not working with Euler angles.
----------------------
Euler angles are a method of describing rotations by means of progressive rotations about Z axis, the new Y axis and then the new Z axis. The progression is Z Y Z. (cf: http://en.wikipedia.org/wiki/Euler_angles
)
The so-called LSL "Euler" functions work with angles which represent progressive rotations about the X, Y, and then Z axis. The progression is X Y Z. For small angles, these angles are commonly perceived as roll, pitch, and yaw.
des/demona