?? (Euler Tao) wrote:> Hi All:
>
> Why are floating-point operators not supported in D Language?
> Because they are useless in tracing programs?
>
> Regards!
> TJ
>
As you''re probably aware, the Solaris kernel doesn''t
use floating point; in those areas where the floating point
registers are used for bcopy, bzero, etc, explicit action
is taken to save registers, disable preemption, etc.
These actions are difficult to take in the arbitrary
contexts in which a DTrace probe can fire.
It might be possible to deal w/ floating point for
user probes only; the asymmetry inherent in this
approach isn''t very pretty.
- Bart
--
Bart Smaalders Solaris Kernel Performance
barts at cyber.eng.sun.com http://blogs.sun.com/barts