dmd.backend.evalu8

Compiler implementation of the D programming language.

Members

Functions

boolres
int boolres(elem* e)

Return boolean result of constant elem.

el_toldoubled
targ_ldouble el_toldoubled(elem* e)

This is the same as the one in el.c, but uses native D reals instead of the soft long double ones.

evalu8
elem* evalu8(elem* e, goal_t goal)

Evaluate a node with only constants as leaves. Return with the result.

iffalse
int iffalse(elem* e)

Return true if expression will always evaluate to false.

iftrue
int iftrue(elem* e)

Return true if expression will always evaluate to true.

Meta