Searched hist:270029 (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/bin/sh/tests/expansion/
H A Darith14.0270029 Fri Aug 15 22:53:14 MDT 2014 jilles sh: Mask off shift distance (<< and >>) in arithmetic.

In C, shift distances equal to or larger than the number of bits in the
operand result in undefined behaviour. As part of eliminating undefined
behaviour in arithmetic, mask off the distance like Java and JavaScript
specify and C on x86 usually does.

Assumption: conversion from unsigned to signed retains the two's complement
bits.
Assumption: uintmax_t has no padding bits.
H A DMakefilediff 270029 Fri Aug 15 22:53:14 MDT 2014 jilles sh: Mask off shift distance (<< and >>) in arithmetic.

In C, shift distances equal to or larger than the number of bits in the
operand result in undefined behaviour. As part of eliminating undefined
behaviour in arithmetic, mask off the distance like Java and JavaScript
specify and C on x86 usually does.

Assumption: conversion from unsigned to signed retains the two's complement
bits.
Assumption: uintmax_t has no padding bits.
/freebsd-11.0-release/bin/sh/
H A Darith_yacc.cdiff 270029 Fri Aug 15 22:53:14 MDT 2014 jilles sh: Mask off shift distance (<< and >>) in arithmetic.

In C, shift distances equal to or larger than the number of bits in the
operand result in undefined behaviour. As part of eliminating undefined
behaviour in arithmetic, mask off the distance like Java and JavaScript
specify and C on x86 usually does.

Assumption: conversion from unsigned to signed retains the two's complement
bits.
Assumption: uintmax_t has no padding bits.

Completed in 75 milliseconds