Raymond Toy pushed to branch issue-166-integer-decode-float-min-float at cmucl / cmucl

Commits:

5 changed files:

Changes:

  • .gitlab-ci.yml
    1 1
     variables:
    
    2 2
       download_url: "https://common-lisp.net/project/cmucl/downloads/snapshots/2021/07"
    
    3 3
       version: "2021-07-x86"
    
    4
    -  bootstrap: ""
    
    4
    +  bootstrap: "-B boot-2021-07-1"
    
    5 5
     
    
    6 6
     stages:
    
    7 7
       - install
    

  • bin/build.sh
    ... ... @@ -39,7 +39,7 @@ ENABLE2="yes"
    39 39
     ENABLE3="yes"
    
    40 40
     ENABLE4="yes"
    
    41 41
     
    
    42
    -version=21c
    
    42
    +version=21d
    
    43 43
     SRCDIR=src
    
    44 44
     BINDIR=bin
    
    45 45
     TOOLDIR=$BINDIR
    

  • src/bootfiles/21d/boot-2021-07-1.lisp
    1
    +;; Bootstrap file
    
    2
    +;;
    
    3
    +;; Use "bin/build.sh -B boot-2021-07-1" to build this.
    
    4
    +;;
    
    5
    +;; We want to export the symbols from the KERNEL package which also
    
    6
    +;; exists in the C package, so we unintern the conflicting symbols from
    
    7
    +;; the C package.
    
    8
    +
    
    9
    +(in-package "KERNEL")
    
    10
    +(ext:without-package-locks
    
    11
    +  (handler-bind
    
    12
    +      ((error (lambda (c)
    
    13
    +		;;(declare (ignore c))
    
    14
    +		(describe c)
    
    15
    +		(invoke-restart 'lisp::unintern-conflicting-symbols))))
    
    16
    +    (export '(DOUBLE-FLOAT-INT-EXPONENT
    
    17
    +	      SINGLE-FLOAT-INT-EXPONENT))))
    
    18
    +

  • src/code/exports.lisp
    ... ... @@ -2329,6 +2329,7 @@
    2329 2329
     	   "DOUBLE-FLOAT-EXPONENT"
    
    2330 2330
     	   "DOUBLE-FLOAT-BITS"
    
    2331 2331
     	   "DOUBLE-FLOAT-HIGH-BITS"
    
    2332
    +	   "DOUBLE-FLOAT-INT-EXPONENT"
    
    2332 2333
     	   "DOUBLE-FLOAT-LOW-BITS" "DOUBLE-FLOAT-P" "FLOAT-WAIT"
    
    2333 2334
     	   "DYNAMIC-SPACE-FREE-POINTER" "ERROR-NUMBER-OR-LOSE" "FILENAME"
    
    2334 2335
     	   "FLOAT-DIGITS" "FLOAT-EXPONENT" "FLOAT-FORMAT-DIGITS"
    
    ... ... @@ -2426,6 +2427,7 @@
    2426 2427
      	   "SIMPLE-ARRAY-SIGNED-BYTE-16-P" "SIMPLE-ARRAY-SIGNED-BYTE-30-P"
    
    2427 2428
     	   "SIMPLE-ARRAY-SIGNED-BYTE-32-P" "SIMPLE-ARRAY-SIGNED-BYTE-8-P" 
    
    2428 2429
     	   "SIMPLE-UNBOXED-ARRAY" "SINGLE-FLOAT-BITS" "SINGLE-FLOAT-EXPONENT"
    
    2430
    +	   "SINGLE-FLOAT-INT-EXPONENT"
    
    2429 2431
     	   "SINGLE-FLOAT-P" "SINGLE-VALUE-TYPE" "SPECIFIER-TYPE" "STACK-REF"
    
    2430 2432
     	   "STD-COMPUTE-CLASS-PRECEDENCE-LIST"
    
    2431 2433
     	   "STREAMLIKE" "SIMPLE-STREAM-BUFFER" "STRINGABLE" "STRINGLIKE"
    

  • src/compiler/generic/vm-type.lisp
    ... ... @@ -51,7 +51,7 @@
    51 51
       #-long-float 'double-float-exponent
    
    52 52
       #+long-float 'long-float-exponent)
    
    53 53
     (deftype float-int-exponent ()
    
    54
    -  'c::double-float-int-exponent)
    
    54
    +  'double-float-int-exponent)
    
    55 55
     (deftype float-digits ()
    
    56 56
       #-long-float `(integer 0 ,vm:double-float-digits)
    
    57 57
       #+long-float `(integer 0 ,vm:long-float-digits))