September 19, 2005 c++.stlsoft » Re: strong NULL in STLSoft release 1.8.7: Ok | |||
|---|---|---|---|
| |||
...i ) { }
// must succeed
if ( pi == NULL ) { }
// must succeed
if ( NULL == pi ) { }
// must succeed
if ( mfp... | |||
September 13, 2005 General » Re: [Submission- std.math] asinh, acosh, atanh, cis, productLog. | |||
|---|---|---|---|
| |||
...atan2 function:
atan2(0, -0) => pi
atan2(-0, -0) => -pi
pow() is also sensitive to... | |||
September 12, 2005 General » Re: [Submission- std.math] asinh, acosh, atanh, cis, productLog. | |||
|---|---|---|---|
| |||
...from C into D, it's not needed for compatibility. cos(PI) + sin(PI) *1i; | |||
September 12, 2005 General » Re: [Submission- std.math] asinh, acosh, atanh, cis, productLog. | |||
|---|---|---|---|
| |||
...C99 and for situations like cos(PI) + I * sin(PI) where you want to convert... | |||
September 08, 2005 c++.stlsoft » real pointer null (struct NULL_v): question | |||
|---|---|---|---|
| |||
...succeeds (pointer):
if ( pi == NULL_v() ) { }
// Ok: succeeds (pointer):
if ( NULL_v() == pi ) { }
// Ok: succeeds... | |||
August 22, 2005 General » cis() + doc suggestions (was: std.math2 proposal) | |||
|---|---|---|---|
| |||
...what you expect. For example, sin(2*PI) will not be <i>exactly<i> zero... | |||
August 21, 2005 General » [sugar] when all hell breaks loose | |||
|---|---|---|---|
| |||
...and a point suffices: `sin.pi' instead of `sin( pi)' `arr.1' instead of `arr... | |||
August 19, 2005 General » Re: std.math2 proposal | |||
|---|---|---|---|
| |||
...since they are all simple relationships on pi? These do provide an important purpose: they... | |||
August 18, 2005 General » std.math2 proposal | |||
|---|---|---|---|
| |||
...10) max!(double)(10, 33.33, -PI, 2*PI, 0); int[] nums = ...; int bound = max... | |||
August 17, 2005 General » Re: Submission: Floating point near-equality | |||
|---|---|---|---|
| |||
...PI+x.epsilon) and sin(n*PI-x.epsilon), if n*PI + PI >= n*PI... | |||
Copyright © 1999-2021 by the D Language Foundation