Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/30/18 09:51:30 (5 years ago)
Author:
bburlacu
Message:

#2958: Add support for sqrt in the interpreter and update dlls .

Location:
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.h

    r16274 r16334  
    100100                    break;
    101101                }
     102            case OpCodes::Square:
     103                {
     104                    in.value = std::pow(code[in.childIndex].value, 2.);
     105                    break;
     106                }
    102107            case OpCodes::Sqrt:
    103108                {
     
    225230                    break;
    226231                }
     232            case OpCodes::Sqrt:
     233                {
     234                    sqrt(in.buf, code[in.childIndex].buf);
     235                    break;
     236                }
    227237        }
    228238    }
Note: See TracChangeset for help on using the changeset viewer.