1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-22 20:40:29 +02:00

(-): Add test for negative inum subtract bignum.

This commit is contained in:
Kevin Ryde 2003-05-05 22:59:03 +00:00
parent 9c4443d38c
commit 072e6de2ed

View file

@ -1,5 +1,5 @@
;;;; numbers.test --- tests guile's numbers -*- scheme -*-
;;;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
;;;; Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@ -1609,6 +1609,12 @@
;;; -
;;;
(with-test-prefix "-"
(pass-if "-inum - +bignum"
(= #x-100000000000000000000000000000001
(- -1 #x100000000000000000000000000000000))))
;;;
;;; *
;;;