MCPcopy Create free account
hub / github.com/ZDoom/Raze / DoubleCoerce

Function DoubleCoerce

source/common/console/c_expr.cpp:427–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425//==========================================================================
426
427void DoubleCoerce (FProduction *&prod1, FProduction *&prod2)
428{
429 if (prod1->Type == PROD_String)
430 {
431 prod1 = StringToDouble (prod1);
432 }
433 if (prod2->Type == PROD_String)
434 {
435 prod2 = StringToDouble (prod2);
436 }
437}
438
439//==========================================================================
440//

Callers 1

ParseExpressionFunction · 0.85

Calls 1

StringToDoubleFunction · 0.85

Tested by

no test coverage detected