Changeset 650c6d2 in sasmodels


Ignore:
Timestamp:
Apr 6, 2017 4:18:30 AM (7 months ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, costrafo411, doc_update, flexible-cylinder, ticket-776-orientation
Children:
142a8e2, bccb40f, 14e08bf
Parents:
5702f52
Message:

use correct type info for 16-bit floats

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rc4e3215 r650c6d2  
    546546    'f32': '32', 
    547547    'f64': '64', 
     548    'float16': '16', 
     549    'float32': '32', 
     550    'float64': '64', 
     551    'float128': '128', 
    548552    'longdouble': '128', 
    549553} 
  • sasmodels/core.py

    r5124c969 r650c6d2  
    250250        dtype = "longdouble" 
    251251    elif dtype == "half": 
    252         dtype = "f16" 
     252        dtype = "float16" 
    253253 
    254254    # Convert dtype string to numpy dtype. 
Note: See TracChangeset for help on using the changeset viewer.