2012/5/7 Matthew Flatt :
> I'd expect `flexpt' to be the same as `expt', but constrained to flonum
> arguments, which would make it the same as
>
> (define (flexpt a x)
> (if (and (flonum? a) (flonum? x))
> (expt a x)
> (error ...s)))
>
> I agree that it would make a fine addition to
I'd expect `flexpt' to be the same as `expt', but constrained to flonum
arguments, which would make it the same as
(define (flexpt a x)
(if (and (flonum? a) (flonum? x))
(expt a x)
(error ...s)))
I agree that it would make a fine addition to `racket/flonum', but is
that what you
2 matches
Mail list logo