26 #if ! defined (octave_pr_output_h)
27 #define octave_pr_output_h 1
29 #include "octave-config.h"
181 extern OCTINTERP_API
void
183 bool d,
bool pr_as_read_syntax =
false);
185 extern OCTINTERP_API
void
187 bool pr_as_read_syntax =
false);
189 extern OCTINTERP_API
void
191 char c,
bool pr_as_read_syntax =
false);
195 bool pr_as_read_syntax =
false)
201 extern OCTINTERP_API
void
203 double d,
bool pr_as_read_syntax =
false);
207 bool pr_as_read_syntax =
false)
212 extern OCTINTERP_API
void
214 float d,
bool pr_as_read_syntax =
false);
218 bool pr_as_read_syntax =
false)
223 extern OCTINTERP_API
void
225 bool pr_as_read_syntax =
false,
226 int extra_indent = 0);
228 extern OCTINTERP_API
void
230 bool pr_as_read_syntax =
false,
231 int extra_indent = 0);
233 extern OCTINTERP_API
void
235 bool pr_as_read_syntax =
false,
236 int extra_indent = 0);
238 extern OCTINTERP_API
void
240 bool pr_as_read_syntax =
false,
241 int extra_indent = 0);
243 extern OCTINTERP_API
void
245 bool pr_as_read_syntax =
false,
246 int extra_indent = 0);
248 extern OCTINTERP_API
void
250 bool pr_as_read_syntax =
false,
251 int extra_indent = 0);
253 extern OCTINTERP_API
void
255 const Complex& c,
bool pr_as_read_syntax =
false);
259 bool pr_as_read_syntax =
false)
264 extern OCTINTERP_API
void
270 bool pr_as_read_syntax =
false)
275 extern OCTINTERP_API
void
277 bool pr_as_read_syntax =
false,
278 int extra_indent = 0);
280 extern OCTINTERP_API
void
282 bool pr_as_read_syntax =
false,
283 int extra_indent = 0);
285 extern OCTINTERP_API
void
287 bool pr_as_read_syntax =
false,
288 int extra_indent = 0);
290 extern OCTINTERP_API
void
292 bool pr_as_read_syntax =
false,
293 int extra_indent = 0);
295 extern OCTINTERP_API
void
297 bool pr_as_read_syntax =
false,
298 int extra_indent = 0);
300 extern OCTINTERP_API
void
302 bool pr_as_read_syntax =
false,
303 int extra_indent = 0);
305 extern OCTINTERP_API
void
307 bool pr_as_read_syntax =
false,
308 int extra_indent = 0);
310 extern OCTINTERP_API
void
312 bool pr_as_read_syntax =
false,
313 int extra_indent = 0);
315 extern OCTINTERP_API
void
317 bool pr_as_read_syntax =
false,
318 int extra_indent = 0);
320 extern OCTINTERP_API
void
322 bool pr_as_read_syntax =
false,
323 int extra_indent = 0);
325 extern OCTINTERP_API
void
327 bool pr_as_read_syntax =
false,
328 int extra_indent = 0,
329 bool pr_as_string =
false);
331 extern OCTINTERP_API
void
333 bool pr_as_read_syntax =
false,
334 int extra_indent = 0,
335 bool pr_as_string =
false);
337 extern OCTINTERP_API
void
339 bool pr_as_read_syntax =
false,
340 int extra_indent = 0);
342 extern OCTINTERP_API
void
344 bool pr_as_read_syntax =
false,
345 int extra_indent = 0);
347 extern OCTINTERP_API
void
349 bool pr_as_read_syntax =
false,
350 int extra_indent = 0);
352 extern OCTINTERP_API
void
354 bool pr_as_read_syntax =
false,
355 int extra_indent = 0);
357 extern OCTINTERP_API
void
359 bool pr_as_read_syntax =
false,
360 int extra_indent = 0);
362 extern OCTINTERP_API
void
364 bool pr_as_read_syntax =
false,
365 int extra_indent = 0);
367 extern OCTINTERP_API
void
369 bool pr_as_read_syntax =
false,
370 int extra_indent = 0);
372 extern OCTINTERP_API
void
374 bool pr_as_read_syntax =
false,
375 int extra_indent = 0);
377 extern OCTINTERP_API
void
379 bool pr_as_read_syntax =
false,
380 int extra_indent = 0);
382 extern OCTINTERP_API
void
384 bool pr_as_read_syntax =
false,
385 int extra_indent = 0);
387 extern OCTINTERP_API
void
390 bool pr_as_read_syntax =
false);
394 bool pr_as_read_syntax =
false)
400 extern OCTINTERP_API
void
403 bool pr_as_read_syntax =
false);
407 bool pr_as_read_syntax =
false)
413 extern OCTINTERP_API
void
416 bool pr_as_read_syntax =
false);
420 bool pr_as_read_syntax =
false)
426 extern OCTINTERP_API
void
429 bool pr_as_read_syntax =
false);
433 bool pr_as_read_syntax =
false)
439 extern OCTINTERP_API
void
442 bool pr_as_read_syntax =
false);
446 bool pr_as_read_syntax =
false)
452 extern OCTINTERP_API
void
455 bool pr_as_read_syntax =
false);
459 bool pr_as_read_syntax =
false)
465 extern OCTINTERP_API
void
468 bool pr_as_read_syntax =
false);
472 bool pr_as_read_syntax =
false)
478 extern OCTINTERP_API
void
481 bool pr_as_read_syntax =
false);
485 bool pr_as_read_syntax =
false)
491 extern OCTINTERP_API
void
493 bool pr_as_read_syntax =
false,
494 int extra_indent = 0,
495 bool pr_as_string =
false);
499 const Cell& cell,
bool pr_as_read_syntax =
false,
500 int extra_indent = 0,
bool pr_as_string =
false)
506 extern OCTINTERP_API
void
508 bool pr_as_read_syntax =
false);
510 template <
typename T>
520 int exponent ()
const;
525 : m_ff (ff), m_val (val) { }
528 : m_ff (fdf.real_format ()), m_val (val) { }
531 template <
typename T>
542 : m_ff (ff), m_val (val) { }
545 : m_ff (fdf.real_format ()), m_val (val) { }
548 template <
typename T>
559 : m_ff (ff), m_val (val) { }
562 : m_ff (fdf.real_format ()), m_val (val) { }
565 template <
typename T>
569 template <
typename T>
573 template <
typename T>
pr_engineering_float(const float_format &ff, T val)
pr_engineering_float(const float_display_format &fdf, T val)
pr_rational_float(const float_format &ff, T val)
pr_rational_float(const float_display_format &fdf, T val)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
F77_RET_T const F77_DBLE const F77_DBLE * f
std::complex< double > Complex
std::complex< float > FloatComplex
float_display_format make_format(const std::complex< T > &)
void octave_print_internal(std::ostream &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax=false)
bool Vprint_empty_dimensions
std::ostream & operator<<(std::ostream &os, const pr_engineering_float< T > &pef)