Changeset ef2eade for tests/time.c


Ignore:
Timestamp:
Aug 14, 2018, 12:59:16 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
7b3a6e6
Parents:
6bde81d
Message:

fixed math tests which differed per platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/time.c

    r6bde81d ref2eade  
    1818
    1919int main() {
    20         Duration d1 = 3`h, d2 = 2`s, d3 = 3.07`s, d4 = 12`s, d5 = 1`s + 10_000`ns;
     20        Duration d1 = 3`h, d2 = 2`s, d3 = 3.375`s, d4 = 12`s, d5 = 1`s + 10_000`ns;
    2121        sout | d1 | d2 | d3 | d4 | d5 | endl;
    2222        int i;
Note: See TracChangeset for help on using the changeset viewer.