Changeset f537c48 in buchla-68k for ram/etadyn.c


Ignore:
Timestamp:
11/12/2017 03:48:02 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
6f49665
Parents:
5c977dd
git-author:
Thomas Lopatic <thomas@…> (11/12/2017 03:47:58 PM)
git-committer:
Thomas Lopatic <thomas@…> (11/12/2017 03:48:02 PM)
Message:

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/etadyn.c

    r5c977dd rf537c48  
    4747        g = grp + 1;
    4848
    49         fpmant = (uint16_t)((((int32_t)curintp & 0x0000FFF0L) *
    50                   ((int32_t)timemlt & 0x0000FFFFL)) >> 15);
     49        fpmant = (uint16_t)(((uint32_t)(curintp & 0xFFF0) *
     50                  (uint32_t)timemlt) >> 15);
    5151
    5252        fpexp = expbit[curintp & 0x000F];
Note: See TracChangeset for help on using the changeset viewer.