Ignore:
Timestamp:
Dec 16, 2016, 10:23:20 AM (5 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
8f60f0b
Parents:
66f8528
Message:

uncomment multiple-value-returning functions in lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/stdlib.c

    r66f8528 r43385ca  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // algorithm.c -- 
     7// algorithm.c --
    88//
    99// Author           : Peter A. Buhr
     
    141141        if ( sscanf( ptr, "%Lf%Lfi", &re, &im ) == EOF ) {}
    142142        return re + im * _Complex_I;
    143 }       
     143}
    144144
    145145int strto( const char * sptr, char ** eptr, int base ) {
     
    213213//---------------------------------------
    214214
    215 // forall( otype T | { T ?/?( T, T ); T ?%?( T, T ); } )
    216 // [ T, T ] div( T t1, T t2 ) { return [ t1 / t2, t1 % t2 ]; }
     215forall( otype T | { T ?/?( T, T ); T ?%?( T, T ); } )
     216[ T, T ] div( T t1, T t2 ) { return [ t1 / t2, t1 % t2 ]; }
    217217
    218218//---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.