www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Re: Complex numbers for DOSX

↑ ↓ ← "Nic Tiger" <nictiger progtech.ru> writes:
Hi Walter,

Is it difficult to enable complex number stuff (per C99) in DOSX model
either?

The only problem you mentioned in CTG is the fact that under DOSX
coprocessor may not present.

What about enabling complex number feature for DOSX for CPU target 5
(Pentium) and above? Since P5 all processors have FPU integrated. And if
not, this is problem of developer to provide system-level support for
coprocessor.

What do you think?

Looking forward for your answer,
Nic Tiger.

P.S. By the way, using complex numbers with simplicity you provided is
great!
Dec 26 2002
↑ ↓ "Walter" <walter digitalmars.com> writes:
That means two runtime libraries would have to be supplied. It's doable, but
just a lot of work.

"Nic Tiger" <nictiger progtech.ru> wrote in message
news:aueig0$26ev$1 digitaldaemon.com...
 Hi Walter,

 Is it difficult to enable complex number stuff (per C99) in DOSX model
 either?

 The only problem you mentioned in CTG is the fact that under DOSX
 coprocessor may not present.

 What about enabling complex number feature for DOSX for CPU target 5
 (Pentium) and above? Since P5 all processors have FPU integrated. And if
 not, this is problem of developer to provide system-level support for
 coprocessor.

 What do you think?

 Looking forward for your answer,
 Nic Tiger.

 P.S. By the way, using complex numbers with simplicity you provided is
 great!

Dec 27 2002
↑ ↓ → "Nic Tiger" <nictiger progtech.ru> writes:
Do you mean 2 libraries DOSX and WIN32 or you mean DOSX 5+ and 3+ ?

I think complex number stuff can be separated in different lib (
complex.lib, e.g.) and the only support is needed is from compiler to
compile with -mx -5 (+) using complex. The rest of the standard library
will stay unmodified. Am I right? Or something prevents using this way?

Nic Tiger.

P.S. I have DMC CD with all RTL sources and can help you in porting complex
number stuff from WIN32 library to DOSX library.

"Walter" <walter digitalmars.com> сообщил/сообщила в новостях следующее:
news:auj9as$2ik6$2 digitaldaemon.com...
 That means two runtime libraries would have to be supplied. It's doable,

 just a lot of work.

 "Nic Tiger" <nictiger progtech.ru> wrote in message
 news:aueig0$26ev$1 digitaldaemon.com...
 Hi Walter,

 Is it difficult to enable complex number stuff (per C99) in DOSX model
 either?

 The only problem you mentioned in CTG is the fact that under DOSX
 coprocessor may not present.

 What about enabling complex number feature for DOSX for CPU target 5
 (Pentium) and above? Since P5 all processors have FPU integrated. And if
 not, this is problem of developer to provide system-level support for
 coprocessor.

 What do you think?

 Looking forward for your answer,
 Nic Tiger.

 P.S. By the way, using complex numbers with simplicity you provided is
 great!


Dec 29 2002