From 3b3435acb5f9fa3a951f0ac094cf43cc9f410e95 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 3 Sep 2008 01:37:50 -0500 Subject: [PATCH] remove old fp-infinity? --- basis/db/queries/queries.factor | 7 ------- 1 file changed, 7 deletions(-) diff --git a/basis/db/queries/queries.factor b/basis/db/queries/queries.factor index 3a751a9736..e5334703f6 100644 --- a/basis/db/queries/queries.factor +++ b/basis/db/queries/queries.factor @@ -43,13 +43,6 @@ M: random-id-generator eval-generator ( singleton -- obj ) : interval-comparison ( ? str -- str ) "from" = " >" " <" ? swap [ "= " append ] when ; -: fp-infinity? ( float -- ? ) - dup float? [ - double>bits -52 shift 11 2^ 1- [ bitand ] keep = - ] [ - drop f - ] if ; - : (infinite-interval?) ( interval -- ?1 ?2 ) [ from>> ] [ to>> ] bi [ first fp-infinity? ] bi@ ;